Index: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
index de6d5c82e871e0d7d510089d5f3fa163c9938213..c55bd1b4a2ace185649b16f2e80c55c69c3aa04a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
@@ -7,13 +7,13 @@ |
#include "base/memory/ref_counted.h" |
#include "cc/surfaces/surface_id.h" |
+#include "cc/surfaces/surface_reference_factory.h" |
#include "platform/PlatformExport.h" |
#include "public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom-blink.h" |
#include <memory> |
namespace cc { |
class SurfaceLayer; |
-struct SurfaceSequence; |
} // namespace cc |
namespace blink { |
@@ -28,14 +28,12 @@ class PLATFORM_EXPORT CanvasSurfaceLayerBridge { |
WebLayer* getWebLayer() const { return m_webLayer.get(); } |
const cc::SurfaceId& getSurfaceId() const { return m_surfaceId; } |
- void satisfyCallback(const cc::SurfaceSequence&); |
- void requireCallback(const cc::SurfaceId&, const cc::SurfaceSequence&); |
- |
private: |
scoped_refptr<cc::SurfaceLayer> m_surfaceLayer; |
std::unique_ptr<WebLayer> m_webLayer; |
- mojom::blink::OffscreenCanvasSurfacePtr m_service; |
+ const mojom::blink::OffscreenCanvasSurfacePtr m_service; |
cc::SurfaceId m_surfaceId; |
+ const scoped_refptr<cc::SurfaceReferenceFactory> m_refFactory; |
Fady Samuel
2016/12/13 22:55:06
Weird to make this const.
Saman Sami
2016/12/14 17:50:02
Done.
|
}; |
} // namespace blink |