summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp')
-rw-r--r--Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp6
1 files changed, 3 insertions, 3 deletions
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<Image> 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