| 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 52384bb356bd6bf02879d2079d66b16489dd8e4e..97bc78539f40efe586a01dc03e2af8f102337195 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
| @@ -6,6 +6,7 @@
|
| #define OffscreenCanvasFrameDispatcherImpl_h
|
|
|
| #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h"
|
| +#include "cc/resources/shared_bitmap.h"
|
| #include "cc/surfaces/surface_id.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| #include "platform/graphics/OffscreenCanvasFrameDispatcher.h"
|
| @@ -33,7 +34,9 @@ private:
|
| const int m_height;
|
|
|
| unsigned m_nextResourceId;
|
| + unsigned getNextResourceIdAndIncrement() { return m_nextResourceId++; }
|
| HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages;
|
| + HashMap<unsigned, std::unique_ptr<cc::SharedBitmap>> m_sharedBitmaps;
|
|
|
| bool verifyImageSize(const sk_sp<SkImage>&);
|
|
|
|
|