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

Unified Diff: content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc

Issue 1015023002: Plugin Power Saver: Throttle 'large' plugins that appear small. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
index ccf6c97e6d7ecea41e1f5bf8a895c4b80cf65572..fb9637216fb53922af709eac68ed24f4f063d277 100644
--- a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
+++ b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
@@ -36,12 +36,9 @@ class PluginInstanceThrottlerImplTest
}
void SetUp() override {
- blink::WebRect rect;
- rect.width = 100;
- rect.height = 100;
throttler_.reset(new PluginInstanceThrottlerImpl);
throttler_->Initialize(nullptr, GURL("http://example.com"),
- "Shockwave Flash", rect);
+ "Shockwave Flash", gfx::Size(100, 100));
throttler_->AddObserver(this);
}
« no previous file with comments | « content/renderer/pepper/plugin_instance_throttler_impl.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698