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 80dbc0e7ee8850b040fb8af4c0362d9516a4ce5c..92c1fb282264b7edde5d4d7d14ee047a515e846e 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -970,6 +970,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, |