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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.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/css/resolver/StyleBuilderCustom.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
index f9fdcd54ae287374ac1150abd5980f15e42cba94..c6d5bb9abde01509a0356098e09adddb878e423f 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -801,7 +801,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(
nullAtom, toCSSCustomIdentValue(functionValue->item(0)).value(),
nullAtom);
const AtomicString& value = state.element()->getAttribute(attr);
- string = value.isNull() ? emptyString() : value.getString();
+ string = value.isNull() ? emptyString : value.getString();
} else {
string = toCSSStringValue(*item).value();
}
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp ('k') | third_party/WebKit/Source/core/dom/AttrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698