From 8d473cf9743f1d30a16a27114e93bd5af5648d23 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 18 May 2012 14:03:11 +0200 Subject: Imported WebKit commit 1350e72f7345ced9da2bd9980deeeb5a8d62fab4 (http://svn.webkit.org/repository/webkit/trunk@117578) Weekly snapshot --- Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp') diff --git a/Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp b/Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp index bf889594c..ca17786bc 100644 --- a/Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp +++ b/Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp @@ -121,13 +121,13 @@ TEST(ImageLayerChromiumTest, opaqueImages) RefPtr nonOpaqueImage = TestImage::create(IntSize(100, 100), false); ASSERT_TRUE(nonOpaqueImage.get()); - ASSERT_FALSE(graphicsLayer->contentsLayer()); + ASSERT_TRUE(graphicsLayer->contentsLayer().isNull()); graphicsLayer->setContentsToImage(opaqueImage.get()); - ASSERT_TRUE(graphicsLayer->contentsLayer()->opaque()); + ASSERT_TRUE(graphicsLayer->contentsLayer().opaque()); graphicsLayer->setContentsToImage(nonOpaqueImage.get()); - ASSERT_FALSE(graphicsLayer->contentsLayer()->opaque()); + ASSERT_FALSE(graphicsLayer->contentsLayer().opaque()); } } // namespace -- cgit v1.2.1