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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp

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/platform/graphics/paint/ClipRecorder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
index 841154cc81df95f7e4df0579fa0e7f4030913d82..816996f4aa368e58ef3960e7db5c8a94452884f3 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
@@ -7,7 +7,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/paint/ClipDisplayItem.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
namespace blink {
@@ -16,14 +16,14 @@ ClipRecorder::ClipRecorder(GraphicsContext& context, const DisplayItemClientWrap
, m_context(context)
, m_type(type)
{
- ASSERT(m_context.displayItemList());
- m_context.displayItemList()->createAndAppend<ClipDisplayItem>(m_client, type, pixelSnappedIntRect(clipRect));
+ ASSERT(m_context.paintController());
+ m_context.paintController()->createAndAppend<ClipDisplayItem>(m_client, type, pixelSnappedIntRect(clipRect));
}
ClipRecorder::~ClipRecorder()
{
- ASSERT(m_context.displayItemList());
- m_context.displayItemList()->endItem<EndClipDisplayItem>(m_client, DisplayItem::clipTypeToEndClipType(m_type));
+ ASSERT(m_context.paintController());
+ m_context.paintController()->endItem<EndClipDisplayItem>(m_client, DisplayItem::clipTypeToEndClipType(m_type));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698