| Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| index 9366ebfe73b95b24ce071896b444d2144c4c7587..fbae8739478899e73a50fbdd7910a19c98595335 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -857,6 +857,9 @@ class UnacceleratedSurfaceFactory
|
| };
|
|
|
| bool HTMLCanvasElement::shouldUseDisplayList(const IntSize& deviceSize) {
|
| + if (m_context->colorSpace() != kLegacyCanvasColorSpace)
|
| + return false;
|
| +
|
| if (RuntimeEnabledFeatures::forceDisplayList2dCanvasEnabled())
|
| return true;
|
|
|
|
|