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

Unified Diff: third_party/WebKit/Source/core/paint/Transform3DRecorder.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/Transform3DRecorder.cpp
diff --git a/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp b/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
index d8de8e12769f0a28fa5c1986008d2be122e38505..7e48aa269a99567f722a9e3820f7f7350e0c6d8a 100644
--- a/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
+++ b/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
@@ -6,7 +6,7 @@
#include "core/paint/Transform3DRecorder.h"
#include "platform/graphics/GraphicsContext.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
#include "platform/graphics/paint/Transform3DDisplayItem.h"
namespace blink {
@@ -27,8 +27,8 @@ Transform3DRecorder::Transform3DRecorder(
if (m_skipRecordingForIdentityTransform)
return;
- ASSERT(m_context.displayItemList());
- m_context.displayItemList()->createAndAppend<BeginTransform3DDisplayItem>(m_client, m_type, transform, transformOrigin);
+ ASSERT(m_context.paintController());
+ m_context.paintController()->createAndAppend<BeginTransform3DDisplayItem>(m_client, m_type, transform, transformOrigin);
}
Transform3DRecorder::~Transform3DRecorder()
@@ -36,8 +36,8 @@ Transform3DRecorder::~Transform3DRecorder()
if (m_skipRecordingForIdentityTransform)
return;
- ASSERT(m_context.displayItemList());
- m_context.displayItemList()->endItem<EndTransform3DDisplayItem>(m_client, DisplayItem::transform3DTypeToEndTransform3DType(m_type));
+ ASSERT(m_context.paintController());
+ m_context.paintController()->endItem<EndTransform3DDisplayItem>(m_client, DisplayItem::transform3DTypeToEndTransform3DType(m_type));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698