Index: content/renderer/browser_plugin/browser_plugin.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc |
index 377e64749d7c044c5273e9a6960696674e3543ec..006b7a3d841f1663203af5043903076ffc151655 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.cc |
+++ b/content/renderer/browser_plugin/browser_plugin.cc |
@@ -382,7 +382,7 @@ void BrowserPlugin::updateGeometry(const WebRect& plugin_rect_in_viewport, |
if (!attached()) |
return; |
- if (old_view_rect.size() == view_rect_.size()) { |
Stephen Chennney
2016/05/10 18:40:23
This very odd condition is a remnant of https://ch
lazyboy
2016/05/10 20:51:58
Which change was that?
which are wasteful.
The in
|
+ if (old_view_rect != view_rect_) { |
// Let the browser know about the updated view rect. |
BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_UpdateGeometry( |
browser_plugin_instance_id_, view_rect_)); |