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

Unified Diff: third_party/WebKit/WebCore/platform/KURLGooglePrivate.h

Issue 21343: Make it possible to initialize KURLGoogle from a CString. This is so that I... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « third_party/WebKit/WebCore/platform/KURLGoogle.cpp ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/platform/KURLGooglePrivate.h
===================================================================
--- third_party/WebKit/WebCore/platform/KURLGooglePrivate.h (revision 9744)
+++ third_party/WebKit/WebCore/platform/KURLGooglePrivate.h (working copy)
@@ -78,8 +78,8 @@
// Setters for the data. Using the ASCII version when you know the
// data is ASCII will be slightly more efficient. The UTF-8 version
// will always be correct if the caller is unsure.
- void setUtf8(const char* data, int dataLength);
- void setAscii(const char* data, int dataLength);
+ void setUtf8(const CString&);
+ void setAscii(const CString&);
// TODO(brettw) we can support an additional optimization. Make this
// buffer support both optinal Strings and UTF-8 data. This way, we can use
« no previous file with comments | « third_party/WebKit/WebCore/platform/KURLGoogle.cpp ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698