[tbb-commits] [tor-browser/tor-browser-38.1.0esr-5.0-1] fixup! Bug 13016: Hide CSS -moz-osx-font-smoothing values.

mikeperry at torproject.org mikeperry at torproject.org
Thu Aug 6 21:37:28 UTC 2015


commit 85bfd5df3fa1dff272e5f527d39e1b69cb3b746a
Author: Kathy Brade <brade at pearlcrescent.com>
Date:   Wed Aug 5 10:33:59 2015 -0400

    fixup! Bug 13016: Hide CSS -moz-osx-font-smoothing values.
    
    Use ThreadsafeIsCallerChrome() instead of IsCallerChrome().
---
 layout/style/nsComputedDOMStyle.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp
index 257a1af..a8c30cc 100644
--- a/layout/style/nsComputedDOMStyle.cpp
+++ b/layout/style/nsComputedDOMStyle.cpp
@@ -1437,7 +1437,7 @@ nsComputedDOMStyle::DoGetFontSizeAdjust()
 CSSValue*
 nsComputedDOMStyle::DoGetOSXFontSmoothing()
 {
-  if (!nsContentUtils::IsCallerChrome())
+  if (!nsContentUtils::ThreadsafeIsCallerChrome())
     return nullptr;
 
   nsROCSSPrimitiveValue* val = new nsROCSSPrimitiveValue;





More information about the tbb-commits mailing list