Index: content/browser/renderer_host/render_widget_host_view_win.cc |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_view_win.cc (revision 145702) |
+++ content/browser/renderer_host/render_widget_host_view_win.cc (working copy) |
@@ -939,13 +939,7 @@ |
} |
void RenderWidgetHostViewWin::Show() { |
- if (!is_fullscreen_) { |
- DCHECK(parent_hwnd_); |
- DCHECK(parent_hwnd_ != ui::GetWindowToParentTo(true)); |
- SetParent(parent_hwnd_); |
- } |
ShowWindow(SW_SHOW); |
- |
WasRestored(); |
} |
@@ -960,13 +954,6 @@ |
::SetFocus(NULL); |
ShowWindow(SW_HIDE); |
- if (!is_fullscreen_) { |
- // Cache the old parent, then orphan the window so we stop receiving |
- // messages. |
- parent_hwnd_ = GetParent(); |
- SetParent(NULL); |
- } |
cpu_(ooo_6.6-7.5)
2012/07/10 02:45:18
do we need the parent_hwnd_ anymore?
|
- |
WasHidden(); |
} |