| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 4a42b0c5900b8c0bdc12fb99439b1e6329e8cb5b..05ca216acfa0c10567834480f4709530d2ca66b7 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -2069,15 +2069,13 @@ void RenderFrameImpl::RegisterPeripheralPlugin(
|
| content_origin, unthrottle_callback);
|
| }
|
|
|
| -bool RenderFrameImpl::ShouldThrottleContent(
|
| +RenderFrame::PeripheralContentStatus
|
| +RenderFrameImpl::GetPeripheralContentStatus(
|
| const url::Origin& main_frame_origin,
|
| const url::Origin& content_origin,
|
| - int width,
|
| - int height,
|
| - bool* cross_origin_main_content) const {
|
| - return plugin_power_saver_helper_->ShouldThrottleContent(
|
| - main_frame_origin, content_origin, width, height,
|
| - cross_origin_main_content);
|
| + const gfx::Size& unobscured_size) const {
|
| + return plugin_power_saver_helper_->GetPeripheralContentStatus(
|
| + main_frame_origin, content_origin, unobscured_size);
|
| }
|
|
|
| void RenderFrameImpl::WhitelistContentOrigin(
|
|
|