Skip to content

Commit 68dd1d8

Browse files
committed
Revert "Increase the size needed to accelerate canvases to 1/2 of the display size"
This reverts commit 0df71ef.
1 parent 28f3cb5 commit 68dd1d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/WebCore/html/HTMLCanvasElement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ bool HTMLCanvasElement::shouldAccelerate(unsigned area) const
919919
return false;
920920

921921
// Do not accelerate canvases that are smaller than 1/4 of the display size
922-
if (area < document().view()->root()->hostWindow()->screenSize().area() / 2)
922+
if (area < document().view()->root()->hostWindow()->screenSize().area() / 4)
923923
return false;
924924

925925
return true;

0 commit comments

Comments
 (0)