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

Unified Diff: third_party/WebKit/Source/core/paint/FloatClipRecorder.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/core/paint/FloatClipRecorder.cpp
diff --git a/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp b/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
index 5e534edb62fdbff0f0a47330f35325ebabe3c603..1c2cc1674b607487edc9c60895e3ed9101d1ce73 100644
--- a/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
+++ b/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
@@ -6,8 +6,8 @@
#include "core/paint/FloatClipRecorder.h"
#include "platform/graphics/GraphicsContext.h"
-#include "platform/graphics/paint/DisplayItemList.h"
#include "platform/graphics/paint/FloatClipDisplayItem.h"
+#include "platform/graphics/paint/PaintController.h"
namespace blink {
@@ -16,15 +16,15 @@ FloatClipRecorder::FloatClipRecorder(GraphicsContext& context, const DisplayItem
, m_client(client)
, m_clipType(DisplayItem::paintPhaseToFloatClipType(paintPhase))
{
- ASSERT(m_context.displayItemList());
- m_context.displayItemList()->createAndAppend<FloatClipDisplayItem>(m_client, m_clipType, clipRect);
+ ASSERT(m_context.paintController());
+ m_context.paintController()->createAndAppend<FloatClipDisplayItem>(m_client, m_clipType, clipRect);
}
FloatClipRecorder::~FloatClipRecorder()
{
DisplayItem::Type endType = DisplayItem::floatClipTypeToEndFloatClipType(m_clipType);
- ASSERT(m_context.displayItemList());
- m_context.displayItemList()->endItem<EndFloatClipDisplayItem>(m_client, endType);
+ ASSERT(m_context.paintController());
+ m_context.paintController()->endItem<EndFloatClipDisplayItem>(m_client, endType);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/InlinePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698