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

Unified Diff: third_party/WebKit/Source/web/tests/KeyboardTest.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/web/tests/KeyboardTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/KeyboardTest.cpp b/third_party/WebKit/Source/web/tests/KeyboardTest.cpp
index a94195e361eba605c236290c367ed53a4a1066b6..8c14efb6f083252c3c46c93f9b9be8da2dce1b06 100644
--- a/third_party/WebKit/Source/web/tests/KeyboardTest.cpp
+++ b/third_party/WebKit/Source/web/tests/KeyboardTest.cpp
@@ -56,7 +56,7 @@ class KeyboardTest : public testing::Test {
WebKeyboardEvent createFakeKeyboardEvent(char keyCode,
int modifiers,
WebInputEvent::Type type,
- const String& key = emptyString()) {
+ const String& key = emptyString) {
WebKeyboardEvent event(type, modifiers, WebInputEvent::TimeStampForTesting);
event.text[0] = keyCode;
event.windowsKeyCode = keyCode;
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp ('k') | third_party/WebKit/Source/wtf/text/StringBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698