| Index: ui/aura/local/compositor_frame_sink_local.h
|
| diff --git a/ui/aura/local/compositor_frame_sink_local.h b/ui/aura/local/compositor_frame_sink_local.h
|
| index 65afe361958dc798b882c6308c7e782cebb15715..c093c1afbbcd39f3a2b55a0532394c1753bd2c93 100644
|
| --- a/ui/aura/local/compositor_frame_sink_local.h
|
| +++ b/ui/aura/local/compositor_frame_sink_local.h
|
| @@ -51,6 +51,7 @@ class CompositorFrameSinkLocal : public cc::CompositorFrameSink,
|
| void ReclaimResources(const cc::ReturnedResourceArray& resources) override;
|
| void WillDrawSurface(const cc::LocalSurfaceId& local_surface_id,
|
| const gfx::Rect& damage_rect) override {}
|
| + void DidRejectCompositorFrame() override;
|
|
|
| // cc::ExternalBeginFrameSourceClient:
|
| void OnNeedsBeginFrames(bool needs_begin_frames) override;
|
| @@ -60,7 +61,8 @@ class CompositorFrameSinkLocal : public cc::CompositorFrameSink,
|
| const cc::FrameSinkId frame_sink_id_;
|
| cc::SurfaceManager* const surface_manager_;
|
| std::unique_ptr<cc::CompositorFrameSinkSupport> support_;
|
| - gfx::Size last_submitted_frame_size_;
|
| + gfx::Size surface_size_;
|
| + float device_scale_factor_ = 0;
|
| cc::LocalSurfaceIdAllocator id_allocator_;
|
| cc::LocalSurfaceId local_surface_id_;
|
| std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_;
|
|
|