| 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 2647b5046d9e6054f03db6c191ec9837e6625205..8b70eff2ec30eb6e685e27245a8abed868749d84 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -865,6 +865,9 @@ bool HTMLCanvasElement::ShouldUseDisplayList() {
|
| if (RuntimeEnabledFeatures::forceDisplayList2dCanvasEnabled())
|
| return true;
|
|
|
| + if (MemoryCoordinator::IsLowEndDevice())
|
| + return false;
|
| +
|
| if (!RuntimeEnabledFeatures::displayList2dCanvasEnabled())
|
| return false;
|
|
|
|
|