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

Unified Diff: Source/WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp

Issue 15866003: Teach WebString about 8 bit strings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better std::string pattern Created 7 years, 7 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: Source/WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp
diff --git a/Source/WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp b/Source/WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp
index 0463b84157161abef69f359835acb01d6552fec1..0f7beb00b8aa65642cd56cc177443aa269f7310a 100644
--- a/Source/WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp
+++ b/Source/WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp
@@ -60,7 +60,7 @@ template<> struct CrossThreadCopierBase<false, false, WebKit::WebFileInfo> {
newInfo.modificationTime = info.modificationTime;
newInfo.length = info.length;
newInfo.type = info.type;
- newInfo.platformPath.assign(info.platformPath.data(), info.platformPath.length());
+ newInfo.platformPath.assign(String(info.platformPath));
darin (slow to review) 2013/05/24 06:12:53 nit: there's an implicit casting operator to WTF::
abarth-chromium 2013/05/24 06:17:44 I'll try it without the explicit String. It's an
return newInfo;
}
};

Powered by Google App Engine
This is Rietveld 408576698