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

Unified Diff: content/renderer/web_intents_host.cc

Issue 10713007: Make isolated file system works for a device root (e.g. X:\\) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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: content/renderer/web_intents_host.cc
diff --git a/content/renderer/web_intents_host.cc b/content/renderer/web_intents_host.cc
index 80d47bd56252be9b33ec7e356967316a6b444654..feff144d54cb3b9d7e697fbb36ec5753ae946105 100644
--- a/content/renderer/web_intents_host.cc
+++ b/content/renderer/web_intents_host.cc
@@ -25,6 +25,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
#include "v8/include/v8.h"
#include "webkit/fileapi/file_system_util.h"
+#include "webkit/fileapi/isolated_context.h"
#include "webkit/glue/cpp_bound_class.h"
using WebKit::WebBindings;
@@ -180,7 +181,7 @@ void WebIntentsHost::DidClearWindowObject(WebFrame* frame) {
"%s%s/%s/",
root_url.spec().c_str(),
intent_->filesystem_id.c_str(),
- intent_->root_path.BaseName().AsUTF8Unsafe().c_str());
+ intent_->root_name.c_str());
// TODO(kmadhusu): This is a temporary hack to create a serializable file
// system. Once we have a better way to create a serializable file system,
// remove this hack.

Powered by Google App Engine
This is Rietveld 408576698