Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
index 74346e8fb519732fe0e55d786f2ac412f3a9888b..cd95f855387c2ff7cdae5142ecc98814e8a81d72 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
@@ -222,7 +222,7 @@ private: |
static ContextFactoryVector& renderingContextFactories(); |
static CanvasRenderingContextFactory* getRenderingContextFactory(int); |
- bool shouldAccelerate(const IntSize&, const WebGraphicsContext3DProvider* sharedMainThreadContextProvider) const; |
+ bool shouldAccelerate(const IntSize&) const; |
void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicString&) override; |
LayoutObject* createLayoutObject(const ComputedStyle&) override; |
@@ -230,7 +230,8 @@ private: |
void reset(); |
- std::unique_ptr<ImageBufferSurface> createImageBufferSurface(const IntSize& deviceSize, int* msaaSampleCount, sk_sp<SkColorSpace>); |
+ std::unique_ptr<ImageBufferSurface> createAcceleratedImageBufferSurface(const IntSize& deviceSize, OpacityMode, sk_sp<SkColorSpace>, int* msaaSampleCount); |
+ std::unique_ptr<ImageBufferSurface> createUnacceleratedImageBufferSurface(const IntSize& deviceSize, OpacityMode, sk_sp<SkColorSpace>); |
void createImageBuffer(); |
void createImageBufferInternal(std::unique_ptr<ImageBufferSurface> externalSurface); |
bool shouldUseDisplayList(const IntSize& deviceSize); |