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

Unified Diff: third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp

Issue 2668903003: Replace WTF::emptyString{16Bit}() with a static global (Closed)
Patch Set: Replace WTF::emptyString{16Bit}() with a static global Created 3 years, 11 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/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp b/third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp
index 73d5f09e853f1bcd1d15aa99112be00914cfffaf..345b0633eb23db09053a64e2402bef3ee3bf33d4 100644
--- a/third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp
@@ -141,7 +141,7 @@ void DateTimeSymbolicFieldElement::stepUp() {
}
String DateTimeSymbolicFieldElement::value() const {
- return hasValue() ? m_symbols[m_selectedIndex] : emptyString();
+ return hasValue() ? m_symbols[m_selectedIndex] : emptyString;
}
int DateTimeSymbolicFieldElement::valueAsInteger() const {

Powered by Google App Engine
This is Rietveld 408576698