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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 99623012: Make calls to AtomicString(const String&) explicit in testing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 12 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
« no previous file with comments | « Source/core/testing/InternalSettings.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index 41c75658894f5bed5f9f7aade53cfe6c0b44d0f5..6aa10f2d04c7cf0634324641c5dba6baf39ee7b2 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -216,7 +216,7 @@ void InternalSettings::setLayerSquashingEnabled(bool enabled, ExceptionState& ex
settings()->setLayerSquashingEnabled(enabled);
}
-void InternalSettings::setStandardFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setStandardFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
@@ -226,7 +226,7 @@ void InternalSettings::setStandardFontFamily(const String& family, const String&
m_page->setNeedsRecalcStyleInAllFrames();
}
-void InternalSettings::setSerifFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setSerifFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
@@ -236,7 +236,7 @@ void InternalSettings::setSerifFontFamily(const String& family, const String& sc
m_page->setNeedsRecalcStyleInAllFrames();
}
-void InternalSettings::setSansSerifFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setSansSerifFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
@@ -246,7 +246,7 @@ void InternalSettings::setSansSerifFontFamily(const String& family, const String
m_page->setNeedsRecalcStyleInAllFrames();
}
-void InternalSettings::setFixedFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setFixedFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
@@ -256,7 +256,7 @@ void InternalSettings::setFixedFontFamily(const String& family, const String& sc
m_page->setNeedsRecalcStyleInAllFrames();
}
-void InternalSettings::setCursiveFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setCursiveFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
@@ -266,7 +266,7 @@ void InternalSettings::setCursiveFontFamily(const String& family, const String&
m_page->setNeedsRecalcStyleInAllFrames();
}
-void InternalSettings::setFantasyFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setFantasyFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
@@ -276,7 +276,7 @@ void InternalSettings::setFantasyFontFamily(const String& family, const String&
m_page->setNeedsRecalcStyleInAllFrames();
}
-void InternalSettings::setPictographFontFamily(const String& family, const String& script, ExceptionState& exceptionState)
+void InternalSettings::setPictographFontFamily(const AtomicString& family, const String& script, ExceptionState& exceptionState)
{
InternalSettingsGuardForSettings();
UScriptCode code = scriptNameToCode(script);
« no previous file with comments | « Source/core/testing/InternalSettings.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698