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

Unified Diff: Source/Platform/chromium/public/WebExternalTextureLayer.h

Issue 13947015: Landing https://codereview.chromium.org/13638008/ on behalf of alexst: Blink API to allow mailbox u… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: Source/Platform/chromium/public/WebExternalTextureLayer.h
diff --git a/Source/Platform/chromium/public/WebExternalTextureLayer.h b/Source/Platform/chromium/public/WebExternalTextureLayer.h
index 568dd31730914d657291b6c6465ccaa7f0189228..b25dd815b639a66b1feb6e27259df84c9da9d227 100644
--- a/Source/Platform/chromium/public/WebExternalTextureLayer.h
+++ b/Source/Platform/chromium/public/WebExternalTextureLayer.h
@@ -46,6 +46,9 @@ public:
virtual WebLayer* layer() = 0;
+ // Clears texture from the layer.
+ virtual void clearTexture() { }
+
// Sets the texture id that represents the layer, in the namespace of the
// compositor context.
virtual void setTextureId(unsigned) = 0;

Powered by Google App Engine
This is Rietveld 408576698