| Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
| index 6f10cc7993f666a5d33f9ccb9a6ea3e798b8d238..9049fa2b8d7ab0edae8ebb411b9dba75ceebeac2 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
| @@ -32,6 +32,7 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final
|
|
|
| // OffscreenCanvasFrameDispatcher implementation.
|
| ~OffscreenCanvasFrameDispatcherImpl() final;
|
| + void setNeedsBeginFrame(bool) final;
|
| void dispatchFrame(RefPtr<StaticBitmapImage>,
|
| double commitStartTime,
|
| bool isWebGLSoftwareRendering = false) final;
|
| @@ -56,15 +57,13 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final
|
| private:
|
| // Surface-related
|
| cc::SurfaceIdAllocator m_surfaceIdAllocator;
|
| - void scheduleSyntheticBeginFrame(); // To be removed (crbug.com/674744)
|
| -
|
| - TaskHandle m_syntheticBeginFrameTask; // To be removed (crbug.com/674744)
|
| const cc::FrameSinkId m_frameSinkId;
|
| cc::LocalFrameId m_currentLocalFrameId;
|
|
|
| int m_width;
|
| int m_height;
|
| bool m_changeSizeForNextCommit;
|
| + bool m_needsBeginFrame;
|
|
|
| unsigned m_nextResourceId;
|
| HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages;
|
| @@ -73,6 +72,7 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final
|
| HashSet<unsigned> m_spareResourceLocks;
|
|
|
| bool verifyImageSize(const IntSize);
|
| + void postImageToPlaceholder(RefPtr<StaticBitmapImage>);
|
|
|
| cc::mojom::blink::MojoCompositorFrameSinkPtr m_sink;
|
| mojo::Binding<cc::mojom::blink::MojoCompositorFrameSinkClient> m_binding;
|
|
|