| Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| index 92fe4995903d3e7d61ba21d23fc0412cebdb3914..c798c97ebba90cb6bdf5a8114c073bd5bba64662 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -59,6 +59,7 @@ public:
|
| ContextExperimentalWebgl = 2,
|
| ContextWebgl = 3,
|
| ContextWebgl2 = 4,
|
| + ContextImageBitmap = 5,
|
| ContextTypeCount,
|
| };
|
|
|
| @@ -116,6 +117,9 @@ public:
|
| virtual ImageData* paintRenderingResultsToImageData(SourceDrawingBuffer) { ASSERT_NOT_REACHED(); return nullptr; }
|
| virtual int externallyAllocatedBytesPerPixel() { ASSERT_NOT_REACHED(); return 0; }
|
|
|
| + // ImageBitmap-specific interface
|
| + virtual bool paint(GraphicsContext&, const IntRect&) { return false; }
|
| +
|
| bool wouldTaintOrigin(CanvasImageSource*);
|
| void didMoveToNewDocument(Document*);
|
|
|
|
|