Chromium Code Reviews| Index: components/plugins/renderer/webview_plugin.cc |
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
| index 9d2ac91d5956fb458eb892adb7650ec5dd9046f5..0a2c15b764e24b37ffd5b34b7e8ba5db52c7dc98 100644 |
| --- a/components/plugins/renderer/webview_plugin.cc |
| +++ b/components/plugins/renderer/webview_plugin.cc |
| @@ -112,6 +112,7 @@ WebPluginContainer* WebViewPlugin::container() const { return container_; } |
| bool WebViewPlugin::initialize(WebPluginContainer* container) { |
| container_ = container; |
| if (container_) { |
|
chrishtr
2015/07/21 20:43:58
Please add a comment summarizing why setNeedsLayou
Stephen Chennney
2015/07/21 21:03:11
Done.
|
| + container_->setNeedsLayout(); |
|
chrishtr
2015/07/21 20:43:58
This call is definitely needed. Here is what can h
Stephen Chennney
2015/07/21 21:03:11
Acknowledged.
|
| old_title_ = container_->element().getAttribute("title"); |
| // Propagate device scale to inner webview to load the correct resource |