From dd91e772430dc294e3bf478c119ef8d43c0a3358 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 12 Mar 2012 14:11:15 +0100 Subject: Imported WebKit commit 3db4eb1820ac8fb03065d7ea73a4d9db1e8fea1a (http://svn.webkit.org/repository/webkit/trunk@110422) This includes build fixes for the latest qtbase/qtdeclarative as well as the final QML2 API. --- Source/WebKit/chromium/tests/CCLayerIteratorTest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/WebKit/chromium/tests/CCLayerIteratorTest.cpp') diff --git a/Source/WebKit/chromium/tests/CCLayerIteratorTest.cpp b/Source/WebKit/chromium/tests/CCLayerIteratorTest.cpp index bff7e1ba9..2f5a7a25d 100644 --- a/Source/WebKit/chromium/tests/CCLayerIteratorTest.cpp +++ b/Source/WebKit/chromium/tests/CCLayerIteratorTest.cpp @@ -67,8 +67,8 @@ private: EXPECT_EQ(contrib, layer->m_countRepresentingContributingSurface); \ EXPECT_EQ(itself, layer->m_countRepresentingItself); -typedef CCLayerIterator FrontToBack; -typedef CCLayerIterator BackToFront; +typedef CCLayerIterator >, RenderSurfaceChromium, CCLayerIteratorActions::FrontToBack> FrontToBack; +typedef CCLayerIterator >, RenderSurfaceChromium, CCLayerIteratorActions::BackToFront> BackToFront; void resetCounts(Vector >& renderSurfaceLayerList) { @@ -137,7 +137,7 @@ TEST(CCLayerIteratorTest, simpleTree) Vector > renderSurfaceLayerList; Vector > layerList; - renderSurfaceLayerList.append(rootLayer); + renderSurfaceLayerList.append(rootLayer.get()); CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility(rootLayer.get(), rootLayer.get(), TransformationMatrix(), TransformationMatrix(), renderSurfaceLayerList, layerList, @@ -184,7 +184,7 @@ TEST(CCLayerIteratorTest, complexTree) Vector > renderSurfaceLayerList; Vector > layerList; - renderSurfaceLayerList.append(rootLayer); + renderSurfaceLayerList.append(rootLayer.get()); CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility(rootLayer.get(), rootLayer.get(), TransformationMatrix(), TransformationMatrix(), renderSurfaceLayerList, layerList, @@ -243,7 +243,7 @@ TEST(CCLayerIteratorTest, complexTreeMultiSurface) Vector > renderSurfaceLayerList; Vector > layerList; - renderSurfaceLayerList.append(rootLayer); + renderSurfaceLayerList.append(rootLayer.get()); CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility(rootLayer.get(), rootLayer.get(), TransformationMatrix(), TransformationMatrix(), renderSurfaceLayerList, layerList, -- cgit v1.2.1