Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 596253002: Don't use setFixedLayoutSize in WebViewPlugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/resources/mobile_youtube_plugin.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 926a3ae0df74e7c0137f07bcc7bbe93aad353231..5beb3336f1d80eb2c986d5e1129877fba135f23a 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -153,7 +153,6 @@ void WebViewPlugin::updateGeometry(const WebRect& frame_rect,
if (static_cast<gfx::Rect>(frame_rect) != rect_) {
rect_ = frame_rect;
WebSize newSize(frame_rect.width, frame_rect.height);
- web_view_->setFixedLayoutSize(newSize);
web_view_->resize(newSize);
}
}
« no previous file with comments | « chrome/renderer/resources/mobile_youtube_plugin.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698