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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index f4358013708c0d32f9687e52a80a8dbc1ba2d6ba..4ebef6fae663ecd3bd72419b3e8adb63c5c21337 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -92,7 +92,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/GraphicsLayer.h"
#include "platform/graphics/GraphicsLayerDebugInfo.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
#include "platform/scroll/ScrollAnimator.h"
#include "platform/text/TextStream.h"
#include "public/platform/WebDisplayItemList.h"
@@ -2478,7 +2478,7 @@ void FrameView::synchronizedPaint(const LayoutRect* interestRect)
void FrameView::synchronizedPaintRecursively(GraphicsLayer* graphicsLayer, const LayoutRect* interestRect)
{
- GraphicsContext context(graphicsLayer->displayItemList());
+ GraphicsContext context(graphicsLayer->paintController());
// TODO(chrishtr): fix unit tests to not inject one-off interest rects.
if (interestRect) {
@@ -2515,7 +2515,7 @@ void FrameView::compositeForSlimmingPaintV2()
rootGraphicsLayer->commitIfNeeded();
- DisplayListCompositingBuilder compositingBuilder(*rootGraphicsLayer->displayItemList());
+ DisplayListCompositingBuilder compositingBuilder(*rootGraphicsLayer->paintController());
OwnPtr<CompositedDisplayList> compositedDisplayList = adoptPtr(new CompositedDisplayList());
compositingBuilder.build(*compositedDisplayList);
page()->setCompositedDisplayList(compositedDisplayList.release());
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698