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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 92043: Refactor ExtensionView to support a UI-less extension instance.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/browser/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 14851)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -160,14 +160,12 @@
"Couldn't duplicate the modal dialog handle for the renderer.";
#endif
- DCHECK(view());
-
ModalDialogEvent modal_dialog_event;
#if defined(OS_WIN)
modal_dialog_event.event = modal_dialog_event_handle;
#endif
- Send(new ViewMsg_New(gfx::IdFromNativeView(view()->GetPluginNativeView()),
+ Send(new ViewMsg_New(GetPluginNativeViewId(),
modal_dialog_event,
delegate_->GetWebkitPrefs(),
routing_id()));
« no previous file with comments | « chrome/browser/extensions/extensions_service_unittest.cc ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698