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

Unified Diff: third_party/WebKit/Source/core/testing/DictionaryTest.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/testing/DictionaryTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
index 07dea6b738fca23238a6c950563b1d1d11ea185b..6a73fe1132f3f32f1b03dfc0e99dd4e31b2a6387 100644
--- a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
+++ b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
@@ -173,12 +173,12 @@ String DictionaryTest::stringFromIterable(
ExecutionContext* executionContext = scriptState->getExecutionContext();
DictionaryIterator iterator = iterable.getIterator(executionContext);
if (iterator.isNull())
- return emptyString();
+ return emptyString;
bool firstLoop = true;
while (iterator.next(executionContext, exceptionState)) {
if (exceptionState.hadException())
- return emptyString();
+ return emptyString;
if (firstLoop)
firstLoop = false;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTransform.cpp ('k') | third_party/WebKit/Source/core/testing/NullExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698