| Index: Source/platform/graphics/ContentLayerDelegate.cpp
|
| diff --git a/Source/platform/graphics/ContentLayerDelegate.cpp b/Source/platform/graphics/ContentLayerDelegate.cpp
|
| index 657ecb92854104a0c810de448a4d56e21085ef67..765943e1b712b0215d0ec6eabe13d472df68b388 100644
|
| --- a/Source/platform/graphics/ContentLayerDelegate.cpp
|
| +++ b/Source/platform/graphics/ContentLayerDelegate.cpp
|
| @@ -90,6 +90,14 @@ void ContentLayerDelegate::paintContents(
|
|
|
| ASSERT(RuntimeEnabledFeatures::slimmingPaintEnabled());
|
|
|
| + // TODO(pdr): Remove when slimming paint v2 is further along. This is only
|
| + // here so the browser is usable during development and does not crash due
|
| + // to committing the new display items twice.
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
|
| + m_painter->displayItemList()->appendToWebDisplayItemList(webDisplayItemList);
|
| + return;
|
| + }
|
| +
|
| DisplayItemList* displayItemList = m_painter->displayItemList();
|
| ASSERT(displayItemList);
|
| displayItemList->setDisplayItemConstructionIsDisabled(
|
|
|