Index: third_party/WebKit/WebCore/page/Settings.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/page/Settings.cpp (revision 14517) |
+++ third_party/WebKit/WebCore/page/Settings.cpp (working copy) |
@@ -90,6 +90,7 @@ |
, m_usesEncodingDetector(false) |
, m_maximumDecodedImageSize(std::numeric_limits<size_t>::max()) |
, m_allowScriptsToCloseWindows(false) |
+ , m_remoteFontEnabled(true) |
{ |
// A Frame may not have been created yet, so we initialize the AtomicString |
// hash before trying to use it. |
@@ -435,4 +436,9 @@ |
m_allowScriptsToCloseWindows = allowScriptsToCloseWindows; |
} |
+void Settings::setRemoteFontEnabled(bool remoteFontEnabled) |
+{ |
+ m_remoteFontEnabled = remoteFontEnabled; |
+} |
+ |
} // namespace WebCore |