diff options
Diffstat (limited to 'parser')
-rw-r--r-- | parser/html/nsHtml5OwningUTF16Buffer.h | 2 | ||||
-rw-r--r-- | parser/html/nsHtml5ViewSourceUtils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/parser/html/nsHtml5OwningUTF16Buffer.h b/parser/html/nsHtml5OwningUTF16Buffer.h index d7e3200ea..0d8777464 100644 --- a/parser/html/nsHtml5OwningUTF16Buffer.h +++ b/parser/html/nsHtml5OwningUTF16Buffer.h @@ -52,7 +52,7 @@ public: nsrefcnt AddRef(); nsrefcnt Release(); private: - nsAutoRefCnt mRefCnt; + mozilla::ThreadSafeAutoRefCnt mRefCnt; }; #endif // nsHtml5OwningUTF16Buffer_h diff --git a/parser/html/nsHtml5ViewSourceUtils.cpp b/parser/html/nsHtml5ViewSourceUtils.cpp index b2f635bff..910a6691e 100644 --- a/parser/html/nsHtml5ViewSourceUtils.cpp +++ b/parser/html/nsHtml5ViewSourceUtils.cpp @@ -31,7 +31,7 @@ nsHtml5ViewSourceUtils::NewBodyAttributes() int32_t tabSize = mozilla::Preferences::GetInt("view_source.tab_size", 4); if (tabSize > 0) { nsString style; - style.AssignASCII("-moz-tab-size: "); + style.AssignASCII("tab-size: "); style.AppendInt(tabSize); bodyAttrs->addAttribute( nsHtml5AttributeName::ATTR_STYLE, nsHtml5String::FromString(style), -1); |