Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index d51951d7b68bdc5a92fbcd08d26d31978154bf83..e87f889d35915a374409d302bda155b9e96f20b6 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -958,6 +958,11 @@ void TabContents::UpdatePreferredSize(const gfx::Size& pref_size) { |
delegate_->UpdatePreferredSize(this, pref_size); |
} |
+void TabContents::ResizeDueToAutoResize(const gfx::Size& new_size) { |
+ if (delegate_) |
+ delegate_->ResizeDueToAutoResize(this, new_size); |
+} |
+ |
void TabContents::WebUISend(RenderViewHost* render_view_host, |
const GURL& source_url, |
const std::string& name, |