Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
| index 146a0352723d772664343bbb6d559903c527d521..1b98dac015bcf0a0beafa2169175d1b17bee5d6b 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
| @@ -20,6 +20,11 @@ bool SubsequenceRecorder::useCachedSubsequenceIfPossible(GraphicsContext& contex |
| ASSERT(context.displayItemList()); |
| + // TODO(jbroman): When SPv2 paint property code can handle it, don't skip |
|
pdr.
2015/10/01 00:32:48
I think we should hold off on turning off subseque
jbroman
2015/10/01 18:04:20
Done.
|
| + // subsequence recording. |
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
| + return false; |
| + |
| if (context.displayItemList()->displayItemConstructionIsDisabled()) |
| return false; |
| @@ -46,6 +51,11 @@ SubsequenceRecorder::SubsequenceRecorder(GraphicsContext& context, const Display |
| if (!RuntimeEnabledFeatures::slimmingPaintSubsequenceCachingEnabled()) |
| return; |
| + // TODO(jbroman): When SPv2 paint property code can handle it, don't skip |
| + // subsequence recording. |
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
| + return; |
| + |
| ASSERT(m_displayItemList); |
| if (m_displayItemList->displayItemConstructionIsDisabled()) |
| return; |