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

Unified Diff: third_party/WebKit/Source/core/paint/SVGMaskPainter.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/SVGMaskPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp b/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
index 6beb4cac7b8765523518d18ec600f882d7ced347..bed6b526fa6f33e8e6847a9b7cbaa96d8b1a6bec 100644
--- a/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
@@ -11,8 +11,8 @@
#include "core/paint/PaintInfo.h"
#include "core/paint/TransformRecorder.h"
#include "platform/graphics/paint/CompositingDisplayItem.h"
-#include "platform/graphics/paint/DisplayItemList.h"
#include "platform/graphics/paint/DrawingDisplayItem.h"
+#include "platform/graphics/paint/PaintController.h"
namespace blink {
@@ -28,8 +28,8 @@ bool SVGMaskPainter::prepareEffect(const LayoutObject& object, GraphicsContext*
if (paintInvalidationRect.isEmpty() || !m_mask.element()->hasChildren())
return false;
- ASSERT(context->displayItemList());
- context->displayItemList()->createAndAppend<BeginCompositingDisplayItem>(object, SkXfermode::kSrcOver_Mode, 1, &paintInvalidationRect);
+ ASSERT(context->paintController());
+ context->paintController()->createAndAppend<BeginCompositingDisplayItem>(object, SkXfermode::kSrcOver_Mode, 1, &paintInvalidationRect);
return true;
}
@@ -47,8 +47,8 @@ void SVGMaskPainter::finishEffect(const LayoutObject& object, GraphicsContext* c
drawMaskForLayoutObject(context, object, object.objectBoundingBox(), paintInvalidationRect);
}
- ASSERT(context->displayItemList());
- context->displayItemList()->endItem<EndCompositingDisplayItem>(object);
+ ASSERT(context->paintController());
+ context->paintController()->endItem<EndCompositingDisplayItem>(object);
}
void SVGMaskPainter::drawMaskForLayoutObject(GraphicsContext* context, const LayoutObject& layoutObject, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect)
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ScopeRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698