[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 85bfd5df3fa1dff272e5f527d39e1b69cb3b746a
Author: Kathy Brade <brade@xxxxxxxxxxxxxxxxx>
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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits