summaryrefslogtreecommitdiffstats
path: root/components/plugins/renderer/webview_plugin.cc
diff options
context:
space:
mode:
authorchrishtr <chrishtr@chromium.org>2016-01-20 18:30:15 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-21 02:31:26 +0000
commit3d35ba88209b8b99c43505abdc796330fd04a6bf (patch)
tree7bba720bd3d8f11cd84732f439cecefacb6c5394 /components/plugins/renderer/webview_plugin.cc
parent86e1eb8755f80ec1d1e20757d3e7bfa6b1f999c1 (diff)
downloadchromium_src-3d35ba88209b8b99c43505abdc796330fd04a6bf.zip
chromium_src-3d35ba88209b8b99c43505abdc796330fd04a6bf.tar.gz
chromium_src-3d35ba88209b8b99c43505abdc796330fd04a6bf.tar.bz2
Don't schedule additional frames inside WebViewImpl::resize().
Previously, we would schedule additional frames in some cases. This should no longer be necessary now that we are always synchronously updating all lifecycle phases after changing layout size of the main frame (https://codereview.chromium.org/1585793002). BUG=545039 TBR=tommycli Review URL: https://codereview.chromium.org/1590433007 Cr-Commit-Position: refs/heads/master@{#370584}
Diffstat (limited to 'components/plugins/renderer/webview_plugin.cc')
-rw-r--r--components/plugins/renderer/webview_plugin.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 2869a77..995ff09 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -283,11 +283,6 @@ void WebViewPlugin::didInvalidateRect(const WebRect& rect) {
container_->invalidateRect(rect);
}
-void WebViewPlugin::didUpdateLayoutSize(const WebSize&) {
- if (container_)
- container_->setNeedsLayout();
-}
-
void WebViewPlugin::didChangeCursor(const WebCursorInfo& cursor) {
current_cursor_ = cursor;
}