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

Unified Diff: content/renderer/indexed_db/indexed_db_dispatcher.cc

Issue 9375024: Get IPC working for Indexed DB in shared workers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add webframe check Created 8 years, 10 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/indexed_db/indexed_db_dispatcher.cc
diff --git a/content/renderer/indexed_db/indexed_db_dispatcher.cc b/content/renderer/indexed_db/indexed_db_dispatcher.cc
index 2770fbbeb81254065242e8f67961014a22623b47..00153d59c07050d445a27363eefa969082b3d034 100644
--- a/content/renderer/indexed_db/indexed_db_dispatcher.cc
+++ b/content/renderer/indexed_db/indexed_db_dispatcher.cc
@@ -181,9 +181,6 @@ void IndexedDBDispatcher::RequestIDBFactoryOpen(
if (!web_frame)
return; // We must be shutting down.
- RenderViewImpl* render_view = RenderViewImpl::FromWebView(web_frame->view());
dgrogan 2012/02/09 22:46:06 This always fails in the shared worker. I would h
jsbell 2012/02/09 23:23:56 Being paranoid, I see this pattern used in a few o
michaeln 2012/02/09 23:59:40 These render_view checks are probably here for goo
- if (!render_view)
- return; // We must be shutting down.
IndexedDBHostMsg_FactoryOpen_Params params;
params.thread_id = CurrentWorkerId();

Powered by Google App Engine
This is Rietveld 408576698