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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp

Issue 1991703003: [Layout API] Use FrameView::layoutViewItem() in SimCompositor.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp b/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
index 77f3c714094bdd545769123d1481aa0a72074e9f..7df886edd5abd1657889630ab1278839be2f5e96 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp
@@ -5,7 +5,7 @@
#include "web/tests/sim/SimCompositor.h"
#include "core/frame/FrameView.h"
-#include "core/layout/LayoutView.h"
+#include "core/layout/api/LayoutViewItem.h"
#include "core/layout/compositing/CompositedLayerMapping.h"
#include "core/paint/PaintLayer.h"
#include "platform/graphics/ContentLayerDelegate.h"
@@ -37,7 +37,7 @@ static void paintFrames(LocalFrame& root, SimDisplayItemList& displayList)
for (Frame* frame = &root; frame; frame = frame->tree().traverseNext(&root)) {
if (!frame->isLocalFrame())
continue;
- PaintLayer* layer = toLocalFrame(frame)->view()->layoutView()->layer();
+ PaintLayer* layer = toLocalFrame(frame)->view()->layoutViewItem().layer();
paintLayers(*layer, displayList);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698