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

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

Issue 18768: POSIX: gfx::NativeViewId and CrossProcessEvent (Closed)
Patch Set: Addressing Brett's comments Created 11 years, 11 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_widget_host.cc
diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc
index 865abbb5ed1b799c292158313d1987fea100c405..b3108b518e5583c85e5d962195e97765daaa3a88 100644
--- a/chrome/browser/renderer_host/render_widget_host.cc
+++ b/chrome/browser/renderer_host/render_widget_host.cc
@@ -68,7 +68,8 @@ void RenderWidgetHost::Init() {
// Send the ack along with the information on placement.
HWND plugin_hwnd = view_->GetPluginHWND();
- Send(new ViewMsg_CreatingNew_ACK(routing_id_, plugin_hwnd));
+ Send(new ViewMsg_CreatingNew_ACK(routing_id_,
+ gfx::IdFromNativeView(plugin_hwnd)));
WasResized();
}
« no previous file with comments | « chrome/browser/renderer_host/render_widget_helper.cc ('k') | chrome/browser/renderer_host/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698