| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 99a0ea118764e79676e00a9078bfc6a5bbbb72f1..6e0a94fd7fa738f9143c4512187efca87c3c6807 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1370,14 +1370,6 @@ void WebContentsImpl::WasShown() {
|
|
|
| last_active_time_ = base::TimeTicks::Now();
|
|
|
| - // The resize rect might have changed while this was inactive -- send the new
|
| - // one to make sure it's up to date.
|
| - RenderViewHostImpl* rvh = GetRenderViewHost();
|
| - if (rvh) {
|
| - rvh->GetWidget()->ResizeRectChanged(
|
| - GetRootWindowResizerRect(rvh->GetWidget()));
|
| - }
|
| -
|
| FOR_EACH_OBSERVER(WebContentsObserver, observers_, WasShown());
|
|
|
| should_normally_be_visible_ = true;
|
| @@ -4223,16 +4215,6 @@ RendererPreferences WebContentsImpl::GetRendererPrefs(
|
| return renderer_preferences_;
|
| }
|
|
|
| -gfx::Rect WebContentsImpl::GetRootWindowResizerRect(
|
| - RenderWidgetHostImpl* render_widget_host) const {
|
| - if (!RenderViewHostImpl::From(render_widget_host))
|
| - return gfx::Rect();
|
| -
|
| - if (delegate_)
|
| - return delegate_->GetRootWindowResizerRect();
|
| - return gfx::Rect();
|
| -}
|
| -
|
| void WebContentsImpl::RemoveBrowserPluginEmbedder() {
|
| if (browser_plugin_embedder_)
|
| browser_plugin_embedder_.reset();
|
|
|