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/CompositingRecorder.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/CompositingRecorder.cpp
diff --git a/third_party/WebKit/Source/core/paint/CompositingRecorder.cpp b/third_party/WebKit/Source/core/paint/CompositingRecorder.cpp
index 0fb894e9c2611ffd43d04629c73d0b46e00393b3..e08a31c991fd0baa8a16be9bc24ed1084e3dc732 100644
--- a/third_party/WebKit/Source/core/paint/CompositingRecorder.cpp
+++ b/third_party/WebKit/Source/core/paint/CompositingRecorder.cpp
@@ -9,7 +9,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/GraphicsLayer.h"
#include "platform/graphics/paint/CompositingDisplayItem.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
namespace blink {
@@ -27,14 +27,14 @@ CompositingRecorder::~CompositingRecorder()
void CompositingRecorder::beginCompositing(GraphicsContext& graphicsContext, const DisplayItemClientWrapper& client, const SkXfermode::Mode xferMode, const float opacity, const FloatRect* bounds, ColorFilter colorFilter)
{
- ASSERT(graphicsContext.displayItemList());
- graphicsContext.displayItemList()->createAndAppend<BeginCompositingDisplayItem>(client, xferMode, opacity, bounds, colorFilter);
+ ASSERT(graphicsContext.paintController());
+ graphicsContext.paintController()->createAndAppend<BeginCompositingDisplayItem>(client, xferMode, opacity, bounds, colorFilter);
}
void CompositingRecorder::endCompositing(GraphicsContext& graphicsContext, const DisplayItemClientWrapper& client)
{
- ASSERT(graphicsContext.displayItemList());
- graphicsContext.displayItemList()->endItem<EndCompositingDisplayItem>(client);
+ ASSERT(graphicsContext.paintController());
+ graphicsContext.paintController()->endItem<EndCompositingDisplayItem>(client);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxClipper.cpp ('k') | third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698