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

Unified Diff: content/renderer/render_frame_impl.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/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 1386b37783ecbea77602dfb670b435f43e1f6032..d6196dfaedaa077cfcbb560bb0448e9d57d15208 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -2456,9 +2456,10 @@ RenderFrame::PeripheralContentStatus
RenderFrameImpl::GetPeripheralContentStatus(
const url::Origin& main_frame_origin,
const url::Origin& content_origin,
- const gfx::Size& unobscured_size) const {
+ const gfx::Size& unobscured_size,
+ bool record_decision) const {
return plugin_power_saver_helper_->GetPeripheralContentStatus(
- main_frame_origin, content_origin, unobscured_size);
+ main_frame_origin, content_origin, unobscured_size, record_decision);
}
void RenderFrameImpl::WhitelistContentOrigin(

Powered by Google App Engine
This is Rietveld 408576698