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 e56e327c7d163be0dddcbfba4fd4a4e2b58f75aa..277afb1008f19536c1f88518c0b7ce52b25b1618 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2453,6 +2453,10 @@ int WebContentsImpl::GetMaximumZoomPercent() const { |
return maximum_zoom_percent_; |
} |
+void WebContentsImpl::ResetPageScale() { |
+ Send(new ViewMsg_ResetPageScale(GetRoutingID())); |
+} |
+ |
gfx::Size WebContentsImpl::GetPreferredSize() const { |
return capturer_count_ == 0 ? preferred_size_ : preferred_size_for_capture_; |
} |