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

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

Issue 15806014: Reduce usage of WebString::data (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/WebKit/chromium/src/WebBindings.cpp ('k') | Source/core/platform/chromium/support/WebString.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4696e30bfd20cbdc52586425a4e19a3825bd20f4 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(info.platformPath);
return newInfo;
}
};
« no previous file with comments | « Source/WebKit/chromium/src/WebBindings.cpp ('k') | Source/core/platform/chromium/support/WebString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698