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..1ea3c161e0c52508c6476362ea689bbf75984af1 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" |
@@ -34,6 +35,7 @@ private: |
unsigned m_nextResourceId; |
HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages; |
+ HashMap<unsigned, std::unique_ptr<cc::SharedBitmap>> m_sharedBitmaps; |
bool verifyImageSize(const sk_sp<SkImage>&); |