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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/DetectedText.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/modules/shapedetection/DetectedText.cpp
diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp b/third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp
index 9551b624628c89e558799c4aba8e8409e4162357..4650ef9e3641309e810e79fa8d0d87208b1044d1 100644
--- a/third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp
+++ b/third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp
@@ -9,7 +9,7 @@
namespace blink {
DetectedText* DetectedText::create() {
- return new DetectedText(emptyString(), DOMRect::create());
+ return new DetectedText(emptyString, DOMRect::create());
}
DetectedText* DetectedText::create(String rawValue, DOMRect* boundingBox) {

Powered by Google App Engine
This is Rietveld 408576698