Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h

Issue 1401363003: Rename DisplayItemList to PaintController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
diff --git a/third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
similarity index 90%
rename from third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h
rename to third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
index 0355fa2b2bff74486d9f1a855537a858874cbe6f..c1cd46b03bae25a3b6c59725a12e7f34b7cd46cb 100644
--- a/third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h
+++ b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DisplayItemListPaintTest_h
-#define DisplayItemListPaintTest_h
+#ifndef PaintControllerPaintTest_h
+#define PaintControllerPaintTest_h
#include "core/frame/FrameView.h"
#include "core/layout/LayoutTestHelper.h"
@@ -14,16 +14,16 @@
namespace blink {
-class DisplayItemListPaintTest : public RenderingTest {
+class PaintControllerPaintTest : public RenderingTest {
public:
- DisplayItemListPaintTest()
+ PaintControllerPaintTest()
: m_originalSlimmingPaintSubsequenceCachingEnabled(RuntimeEnabledFeatures::slimmingPaintSubsequenceCachingEnabled())
, m_originalSlimmingPaintOffsetCachingEnabled(RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled())
{ }
protected:
LayoutView& layoutView() { return *document().layoutView(); }
- DisplayItemList& rootDisplayItemList() { return *layoutView().layer()->graphicsLayerBacking()->displayItemList(); }
+ PaintController& rootPaintController() { return *layoutView().layer()->graphicsLayerBacking()->paintController(); }
private:
void SetUp() override
@@ -43,14 +43,14 @@ private:
// Slimming paint v2 has subtly different behavior on some paint tests. This
// class is used to test only v2 behavior while maintaining v1 test coverage.
-class DisplayItemListPaintTestForSlimmingPaintV2 : public RenderingTest {
+class PaintControllerPaintTestForSlimmingPaintV2 : public RenderingTest {
public:
- DisplayItemListPaintTestForSlimmingPaintV2()
+ PaintControllerPaintTestForSlimmingPaintV2()
: m_originalSlimmingPaintV2Enabled(RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { }
protected:
LayoutView& layoutView() { return *document().layoutView(); }
- DisplayItemList& rootDisplayItemList() { return *layoutView().layer()->graphicsLayerBacking()->displayItemList(); }
+ PaintController& rootPaintController() { return *layoutView().layer()->graphicsLayerBacking()->paintController(); }
void setNeedsDisplayForRoot()
{
layoutView().layer()->graphicsLayerBacking()->setNeedsDisplay();
@@ -129,4 +129,4 @@ const DisplayItem::Type cachedSubsequenceType = DisplayItem::subsequenceTypeToCa
} // namespace blink
-#endif // DisplayItemListPaintTest_h
+#endif // PaintControllerPaintTest_h

Powered by Google App Engine
This is Rietveld 408576698