Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(890)

Unified Diff: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h

Issue 2102123002: Make Satisfy/Require callbacks pass Surface id and sequence by reference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 56980ab67508b811fd05749f479a1023fc57e496..9a6a52d85a56b6a06d90dc8de91b8744ee2c1c40 100644
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
@@ -29,8 +29,8 @@ public:
const cc::SurfaceId& getSurfaceId() const { return m_surfaceId; }
CanvasSurfaceLayerBridgeClient* getClient() const { return m_client.get(); }
- void satisfyCallback(cc::SurfaceSequence);
- void requireCallback(cc::SurfaceId, cc::SurfaceSequence);
+ void satisfyCallback(const cc::SurfaceSequence&);
+ void requireCallback(const cc::SurfaceId&, const cc::SurfaceSequence&);
private:
scoped_refptr<cc::SurfaceLayer> m_surfaceLayer;

Powered by Google App Engine
This is Rietveld 408576698