Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: third_party/WebKit/WebCore/page/Settings.cpp

Issue 99019: Disable web-fonts, WebKit side.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698