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

Unified Diff: chrome/renderer/extensions/sync_file_system_custom_bindings.cc

Issue 12886018: Add support for WEBKIT_USE_NEW_WEBFILESYSTEMTYPE (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 9 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 | « chrome/renderer/extensions/media_galleries_custom_bindings.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/sync_file_system_custom_bindings.cc
===================================================================
--- chrome/renderer/extensions/sync_file_system_custom_bindings.cc (revision 188767)
+++ chrome/renderer/extensions/sync_file_system_custom_bindings.cc (working copy)
@@ -50,7 +50,12 @@
WebKit::WebFrame* webframe =
WebKit::WebFrame::frameForContext(v8_context());
- return webframe->createFileSystem(WebKit::WebFileSystem::TypeExternal,
+ return webframe->createFileSystem(
+#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
+ WebKit::WebFileSystemTypeExternal,
+#else
+ WebKit::WebFileSystem::TypeExternal,
+#endif
WebKit::WebString::fromUTF8(name),
WebKit::WebString::fromUTF8(root_url));
}
« no previous file with comments | « chrome/renderer/extensions/media_galleries_custom_bindings.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698