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

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

Issue 2211753002: Plugin Power Saver Tiny: Fix Plugin.PowerSaver.PeripheralHeuristic UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 48a9bb6149138b59f3fa8ed1e1fb83844aa57c56..be69d6b3ffebbaf67ecbf3a28a1b9ade14da9ad8 100644
--- a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
+++ b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
@@ -38,7 +38,8 @@ class PluginInstanceThrottlerImplTest
}
void SetUp() override {
- throttler_.reset(new PluginInstanceThrottlerImpl);
+ throttler_.reset(
+ new PluginInstanceThrottlerImpl(false /* record_decision */));
throttler_->Initialize(nullptr, url::Origin(GURL("http://example.com")),
"Shockwave Flash", gfx::Size(100, 100));
throttler_->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698