RuntimeEnabledFeatures::slimmingPaintOffsetCaching
commit5127cfd5948a5515aceda0195002017deea3cd52
authorwangxianzhu@chromium.org <wangxianzhu@chromium.org>
Wed, 23 Sep 2015 02:50:03 +0000 (23 02:50 +0000)
committerwangxianzhu@chromium.org <wangxianzhu@chromium.org>
Wed, 23 Sep 2015 02:50:03 +0000 (23 02:50 +0000)
treee1f227b920a32d3753cd12d136ff6f86a14eaee2
parent109acd80bb94f76e2c140ed3bebcb304c26e9865
RuntimeEnabledFeatures::slimmingPaintOffsetCaching

Put paint offset caching code under this condition because we may
enable it for slimming paint v1.

Also add a test for bug 533277, and exclude paint-offset workaround
when paint offset caching is enabled.

BUG=508383,533277

Review URL: https://codereview.chromium.org/1355753008

git-svn-id: svn://svn.chromium.org/blink/trunk@202658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
LayoutTests/TestExpectations
LayoutTests/paint/invalidation/percentage-transform-paint-offset-expected.html [new file with mode: 0644]
LayoutTests/paint/invalidation/percentage-transform-paint-offset.html [new file with mode: 0644]
Source/core/layout/LayoutObject.cpp
Source/core/layout/LayoutObject.h
Source/core/paint/DisplayItemListPaintTest.h
Source/core/paint/LayoutObjectDrawingRecorder.h
Source/core/paint/LayoutObjectDrawingRecorderTest.cpp
Source/platform/RuntimeEnabledFeatures.in
Source/platform/graphics/paint/DisplayItemList.cpp