diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 23:53:25 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 23:53:25 +0000 |
commit | 88b795b46f0236976a6699f7af7dc1da1605b291 (patch) | |
tree | 6775521c0e71e4570a090b3c7b7e68d4f22b42ef /chrome/browser/tab_contents/tab_contents_view_win.cc | |
parent | e5d8b05f5f57390eab6bea89a35c5dc011df113a (diff) | |
download | chromium_src-88b795b46f0236976a6699f7af7dc1da1605b291.zip chromium_src-88b795b46f0236976a6699f7af7dc1da1605b291.tar.gz chromium_src-88b795b46f0236976a6699f7af7dc1da1605b291.tar.bz2 |
Don't send resize messages until the renderer has been initialized.
[Retry of 14260 with fixed unit test.]
1) Moves renderer_initialized_ from RenderWidgetView into RenderWidgetHost (its parent). Should be identical semantics to before.
2) Test renderer_initialized_ in RWH::WasResized().
This also reverts r13725, which was another attempt at fixing this problem.
BUG=9830,10659
TEST=From the Linux start page, click a link then click back -- should not get a gray page. From Google reader, click a link (which spawns a new tab within the same process) -- should not get a gray page.
Review URL: http://codereview.chromium.org/93038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_view_win.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_view_win.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_win.cc b/chrome/browser/tab_contents/tab_contents_view_win.cc index 3278c60..f5f3d96 100644 --- a/chrome/browser/tab_contents/tab_contents_view_win.cc +++ b/chrome/browser/tab_contents/tab_contents_view_win.cc @@ -310,10 +310,6 @@ void TabContentsViewWin::RestoreFocus() { } } -void TabContentsViewWin::SetChildSize(RenderWidgetHostView* rwh_view) { - rwh_view->SetSize(GetContainerSize()); -} - void TabContentsViewWin::UpdateDragCursor(bool is_drop_target) { drop_target_->set_is_drop_target(is_drop_target); } |