| 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 5f210de88467f750e2c4814c2fba594a4400b398..b1cb1f2f6da34101439fe815d80fc33d47a15cf0 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -109,6 +109,7 @@ public:
|
| virtual void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle) { }
|
| virtual std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint& location) { NOTREACHED(); return std::make_pair(nullptr, String()); }
|
| virtual String getIdFromControl(const Element* element) { return String(); }
|
| + virtual bool isAccelerationOptimalForCanvasContent() const { return true; }
|
|
|
| // WebGL-specific interface
|
| virtual bool is3d() const { return false; }
|
|
|