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

Unified Diff: Source/core/dom/SpaceSplitString.cpp

Issue 112843002: Make calls to AtomicString(const String&) explicit in dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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: Source/core/dom/SpaceSplitString.cpp
diff --git a/Source/core/dom/SpaceSplitString.cpp b/Source/core/dom/SpaceSplitString.cpp
index 63c3da1ef570fb0788b7b02d9ae4e60c18d49a0c..268583ee2a17580365a2c1adf9452e6ccbe22f09 100644
--- a/Source/core/dom/SpaceSplitString.cpp
+++ b/Source/core/dom/SpaceSplitString.cpp
@@ -164,7 +164,7 @@ void SpaceSplitString::set(const AtomicString& inputString, bool shouldFoldCase)
if (shouldFoldCase && hasNonASCIIOrUpper(string))
string = string.foldCase();
- m_data = SpaceSplitStringData::create(string);
+ m_data = SpaceSplitStringData::create(AtomicString(string));
}
SpaceSplitStringData::~SpaceSplitStringData()

Powered by Google App Engine
This is Rietveld 408576698