Index: components/plugins/renderer/loadable_plugin_placeholder.h |
diff --git a/components/plugins/renderer/loadable_plugin_placeholder.h b/components/plugins/renderer/loadable_plugin_placeholder.h |
index 13b903df92292b05a8b89888a37542471a0151f7..0221a0ffbc6cd1d4c8c7f3447e0610dbf3583ebe 100644 |
--- a/components/plugins/renderer/loadable_plugin_placeholder.h |
+++ b/components/plugins/renderer/loadable_plugin_placeholder.h |
@@ -76,7 +76,7 @@ class LoadablePluginPlaceholder : public PluginPlaceholderBase { |
void PluginDestroyed() override; |
v8::Local<v8::Object> GetV8ScriptableObject( |
v8::Isolate* isolate) const override; |
- void OnUnobscuredSizeUpdate(const gfx::Size& unobscured_size) override; |
+ void OnUnobscuredRectUpdate(const gfx::Rect& unobscured_rect) override; |
// RenderFrameObserver methods: |
void WasShown() override; |
@@ -118,7 +118,7 @@ class LoadablePluginPlaceholder : public PluginPlaceholderBase { |
// Used to prevent re-entrancy during the size recheck for throttled plugins. |
bool in_size_recheck_; |
- gfx::Size unobscured_size_; |
+ gfx::Rect unobscured_rect_; |
base::OneShotTimer<LoadablePluginPlaceholder> size_update_timer_; |
base::WeakPtrFactory<LoadablePluginPlaceholder> weak_factory_; |