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 4dd91a2bc21205388447ac362142f7bec5739282..a5e5044d9a04e4d6bbc54dd54da9ce332e457df7 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -4261,13 +4261,6 @@ void WebContentsImpl::SetEncoding(const std::string& encoding) { |
GetCanonicalEncodingNameByAliasName(encoding); |
} |
-void WebContentsImpl::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { |
- RenderWidgetHostViewBase* rwh_view = view_->CreateViewForWidget(rvh); |
- // Can be NULL during tests. |
- if (rwh_view) |
- rwh_view->SetSize(GetContainerBounds().size()); |
-} |
- |
bool WebContentsImpl::IsHidden() { |
return capturer_count_ == 0 && !should_normally_be_visible_; |
} |