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

Unified Diff: Source/core/html/parser/HTMLSrcsetParser.h

Issue 108313015: Make calls to AtomicString(const String&) explicit in html/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration 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
Index: Source/core/html/parser/HTMLSrcsetParser.h
diff --git a/Source/core/html/parser/HTMLSrcsetParser.h b/Source/core/html/parser/HTMLSrcsetParser.h
index 8964ffbcd5f61ee309ab67d2e4fe83855e89c736..861df34a418c7e0a15efb08a88c96c0bfdb8c6d2 100644
--- a/Source/core/html/parser/HTMLSrcsetParser.h
+++ b/Source/core/html/parser/HTMLSrcsetParser.h
@@ -50,7 +50,12 @@ public:
String toString() const
{
- return m_string.toString();
+ return String(m_string.toString());
+ }
+
+ AtomicString toAtomicString() const
+ {
+ return AtomicString(m_string.toString());
}
inline float scaleFactor() const

Powered by Google App Engine
This is Rietveld 408576698