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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 67fe5d2080bfbff48f7d24b642e196969099bcf1..2499b0365de08b2b19824780c8af16bcf705f6f5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -86,7 +86,7 @@
#include "platform/TracedValue.h"
#include "platform/geometry/TransformState.h"
#include "platform/graphics/GraphicsContext.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
#include "wtf/Partitions.h"
#include "wtf/RefCountedLeakCounter.h"
#include "wtf/text/StringBuilder.h"
@@ -1450,9 +1450,9 @@ void LayoutObject::invalidatePaintIfNeededForSynchronizedPainting(const PaintInf
ASSERT(paintInfo.paintInvalidationState);
ASSERT(paintInfo.paintContainer());
- DisplayItemList* displayItemList = paintInfo.context->displayItemList();
- if (displayItemList->clientHasCheckedPaintInvalidation(displayItemClient())) {
- ASSERT(displayItemList->clientCacheIsValid(displayItemClient())
+ PaintController* paintController = paintInfo.context->paintController();
+ if (paintController->clientHasCheckedPaintInvalidation(displayItemClient())) {
+ ASSERT(paintController->clientCacheIsValid(displayItemClient())
== (invalidatePaintIfNeeded(*paintInfo.paintInvalidationState, *paintInfo.paintContainer()) == PaintInvalidationNone));
return;
}
@@ -1463,7 +1463,7 @@ void LayoutObject::invalidatePaintIfNeededForSynchronizedPainting(const PaintInf
if (reason == PaintInvalidationDelayedFull)
paintInfo.paintInvalidationState->pushDelayedPaintInvalidationTarget(*this);
- displayItemList->setClientHasCheckedPaintInvalidation(displayItemClient());
+ paintController->setClientHasCheckedPaintInvalidation(displayItemClient());
}
PaintInvalidationReason LayoutObject::paintInvalidationReason(const LayoutBoxModelObject& paintInvalidationContainer,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698