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

Unified Diff: chrome/renderer/extensions/media_galleries_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
Index: chrome/renderer/extensions/media_galleries_custom_bindings.cc
===================================================================
--- chrome/renderer/extensions/media_galleries_custom_bindings.cc (revision 188767)
+++ chrome/renderer/extensions/media_galleries_custom_bindings.cc (working copy)
@@ -60,7 +60,12 @@
const std::string root_url =
fileapi::GetIsolatedFileSystemRootURIString(
origin, fsid, extension_misc::kMediaFileSystemPathPart);
- return webframe->createFileSystem(WebKit::WebFileSystem::TypeIsolated,
+ return webframe->createFileSystem(
+#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
+ WebKit::WebFileSystemTypeIsolated,
+#else
+ WebKit::WebFileSystem::TypeIsolated,
+#endif
WebKit::WebString::fromUTF8(name),
WebKit::WebString::fromUTF8(root_url));
}
« no previous file with comments | « chrome/renderer/extensions/file_system_natives.cc ('k') | chrome/renderer/extensions/sync_file_system_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698