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

Unified Diff: Source/web/tests/WebViewTest.cpp

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « Source/web/tests/WebFrameTest.cpp ('k') | WATCHLISTS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebViewTest.cpp
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
index 38911ded4ac98724cedb9e412d732fba2e08f60c..95d9a0be3359ac0df2ce0ce07674404c119babad 100644
--- a/Source/web/tests/WebViewTest.cpp
+++ b/Source/web/tests/WebViewTest.cpp
@@ -42,11 +42,11 @@
#include "core/html/HTMLIFrameElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/HTMLTextAreaElement.h"
+#include "core/layout/Layer.h"
#include "core/loader/FrameLoadRequest.h"
#include "core/page/Chrome.h"
#include "core/page/Page.h"
#include "core/paint/LayerPainter.h"
-#include "core/rendering/RenderLayer.h"
#include "core/rendering/RenderView.h"
#include "core/testing/URLTestHelpers.h"
#include "platform/KeyboardCodes.h"
@@ -352,7 +352,7 @@ TEST_F(WebViewTest, SetBaseBackgroundColorAndBlendWithExistingContent)
// Paint the root of the main frame in the way that CompositedLayerMapping would.
FrameView* view = m_webViewHelper.webViewImpl()->mainFrameImpl()->frameView();
- RenderLayer* rootLayer = view->renderView()->layer();
+ Layer* rootLayer = view->renderView()->layer();
IntRect paintRect(0, 0, kWidth, kHeight);
LayerPaintingInfo paintingInfo(rootLayer, paintRect, PaintBehaviorNormal, LayoutSize());
LayerPainter(*rootLayer).paintLayerContents(&context, paintingInfo, PaintLayerPaintingCompositingAllPhases);
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | WATCHLISTS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698