| Index: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| index 0d4e69ecbaa7393eaa6f048868237b76183f5b24..2621fd19eddc45c06f3af6a997c6f848731e3f0a 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| @@ -83,6 +83,15 @@ protected:
|
| commit();
|
| }
|
|
|
| + bool displayItemListContains(const DisplayItemList& displayItemList, DisplayItemClient& client, DisplayItem::Type type)
|
| + {
|
| + for (auto& item : displayItemList) {
|
| + if (item.client() == client && item.type() == type)
|
| + return true;
|
| + }
|
| + return false;
|
| + }
|
| +
|
| private:
|
| bool m_originalSlimmingPaintOffsetCachingEnabled;
|
| bool m_originalSlimmingPaintV2Enabled;
|
|
|