| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 9e432ba9394f11a708bce49a6d40d9c62c5f3a65..84f7e01595808279baf638056e6d8edc1f6a4ba2 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -2109,15 +2109,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(
|
|
|