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

Unified Diff: chrome/renderer/plugins/power_saver_info.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: merge. and change to enum 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: chrome/renderer/plugins/power_saver_info.cc
diff --git a/chrome/renderer/plugins/power_saver_info.cc b/chrome/renderer/plugins/power_saver_info.cc
index 6209b64138461f08bcad526f65f1642b100f47dc..995b5c965287a1543b4a3b6875f879ef28bd8b9e 100644
--- a/chrome/renderer/plugins/power_saver_info.cc
+++ b/chrome/renderer/plugins/power_saver_info.cc
@@ -102,7 +102,8 @@ PowerSaverInfo PowerSaverInfo::Get(content::RenderFrame* render_frame,
auto status = render_frame->GetPeripheralContentStatus(
render_frame->GetWebFrame()->top()->getSecurityOrigin(),
- url::Origin(params.url), gfx::Size());
+ url::Origin(params.url), gfx::Size(),
+ content::RenderFrame::RECORD_DECISION);
// Early-exit from the whole Power Saver system if the content is
// same-origin or whitelisted-origin. We ignore the other possibilities,
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | components/plugins/renderer/loadable_plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698