Chromium Code Reviews| Index: chrome/browser/renderer_host/render_widget_host_view_win.cc |
| =================================================================== |
| --- chrome/browser/renderer_host/render_widget_host_view_win.cc (revision 67940) |
| +++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy) |
| @@ -308,16 +308,6 @@ |
| void RenderWidgetHostViewWin::CreateWnd(HWND parent) { |
| Create(parent); // ATL function to create the window. |
| - |
| - // Add a property indicating that a particular renderer is associated with |
| - // this window. Used by the GPU process to validate window handles it |
| - // receives from renderer processes. As this is used by a separate process we |
| - // have to use ScopedProp here instead of ViewProp. |
| - int renderer_id = render_widget_host_->process()->id(); |
| - renderer_id_prop_.reset( |
|
sky
2010/12/02 20:27:26
Remove renderer_id_prop_ from the header,the forwa
|
| - new app::win::ScopedProp(m_hWnd, |
| - chrome::kChromiumRendererIdProperty, |
| - reinterpret_cast<HANDLE>(renderer_id))); |
| } |
| /////////////////////////////////////////////////////////////////////////////// |