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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10536200: Manage IsolatedContext with reference counts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win test fix 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 2134a756f41e0bd33a24f060b564416219d0d3a1..958738e3d4f4fee140ea6212fb6c8afb5610210b 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -552,6 +552,7 @@ void RenderViewHostImpl::DragTargetDragEnter(
DCHECK(isolated_context);
std::string filesystem_id = isolated_context->RegisterIsolatedFileSystem(
filesets);
+ DCHECK(!filesystem_id.empty());
policy->GrantReadFileSystem(renderer_id, filesystem_id);
filtered_data.filesystem_id = UTF8ToUTF16(filesystem_id);

Powered by Google App Engine
This is Rietveld 408576698