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..8ad4b9055e03e469b7711782d2743a73d70400a7 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; |
+ scoped_refptr<cc::SurfaceReferenceFactory> m_refFactory; |
kylechar
2016/12/14 20:51:53
ref_factory_
Saman Sami
2016/12/14 21:54:22
I think third parties have their own naming conven
|
}; |
} // namespace blink |