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

Unified Diff: third_party/WebKit/Source/platform/exported/WebString.cpp

Issue 2659023002: Re-add WebString::equals that takes const char* only (Closed)
Patch Set: removes ::fromUTF8(const char*) too 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
« no previous file with comments | « no previous file | third_party/WebKit/public/platform/WebString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/exported/WebString.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebString.cpp b/third_party/WebKit/Source/platform/exported/WebString.cpp
index 4dc2a65cf0ae06e3dec895f2dd80f454cee8d35c..29205801bb9b834244815d04ed2d5cdd7b032b6a 100644
--- a/third_party/WebKit/Source/platform/exported/WebString.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebString.cpp
@@ -90,10 +90,6 @@ WebString WebString::fromUTF8(const char* data, size_t length) {
return String::fromUTF8(data, length);
}
-WebString WebString::fromUTF8(const char* data) {
- return String::fromUTF8(data);
-}
-
WebString WebString::fromUTF16(const base::string16& s) {
WebString string;
string.assign(s.data(), s.length());
« no previous file with comments | « no previous file | third_party/WebKit/public/platform/WebString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698