Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h |
index f03040eca7c2c774a977d73e6ea1ec0f3c9f1657..703496afa17db46a795d264d516d62680f7d034e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h |
@@ -13,6 +13,7 @@ |
namespace blink { |
class Image; |
+class IntSize; |
class OffscreenCanvasFrameDispatcher; |
class WebTaskRunner; |
@@ -26,6 +27,8 @@ class PLATFORM_EXPORT OffscreenCanvasPlaceholder { |
unsigned resourceId); |
void releasePlaceholderFrame(); |
+ virtual void setSize(const IntSize&) = 0; |
+ |
static OffscreenCanvasPlaceholder* getPlaceholderById(unsigned placeholderId); |
void registerPlaceholder(unsigned placeholderId); |