summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 23:44:30 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 23:44:30 +0000
commit3c4d38386f27b5fc4a7a8db717ea114725c34b4a (patch)
treece6e53d68638e8a1dd9fb672fbb72c10dd103f9d /chrome/browser/renderer_host/render_widget_host.cc
parent891c71789b6f3382a5edec024c8a478df523d7fd (diff)
downloadchromium_src-3c4d38386f27b5fc4a7a8db717ea114725c34b4a.zip
chromium_src-3c4d38386f27b5fc4a7a8db717ea114725c34b4a.tar.gz
chromium_src-3c4d38386f27b5fc4a7a8db717ea114725c34b4a.tar.bz2
Fix reloading a page with a pdf not working. The problem was that we were sending an invalid window to DeferWindowPos (the previous window as it's going away). But we didn't really need to override setParentVisible since overriding setParent is enough.
Review URL: http://codereview.chromium.org/18519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc
index 7a77a02..354f54b 100644
--- a/chrome/browser/renderer_host/render_widget_host.cc
+++ b/chrome/browser/renderer_host/render_widget_host.cc
@@ -473,6 +473,7 @@ void RenderWidgetHost::MovePluginWindows(
move.window_rect.width(),
move.window_rect.height(), flags);
if (!defer_window_pos_info) {
+ DCHECK(false) << "DeferWindowPos given invalid window, so rest ignored.";
return;
}
}