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

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

Issue 178013003: Drop background color optimization for composited layers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CL to land Created 6 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/platform/graphics/GraphicsLayer.cpp ('k') | public/platform/WebCompositorSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/GraphicsLayerTest.cpp
diff --git a/Source/web/tests/GraphicsLayerTest.cpp b/Source/web/tests/GraphicsLayerTest.cpp
index 5ae5a78a3d8cd6bcaa6e3183bea6ecf01d3bd063..29b7e1172af99bf5699c71671c72b729a328616f 100644
--- a/Source/web/tests/GraphicsLayerTest.cpp
+++ b/Source/web/tests/GraphicsLayerTest.cpp
@@ -165,16 +165,4 @@ TEST_F(GraphicsLayerTest, applyScrollToScrollableArea)
EXPECT_EQ(scrollPosition, WebPoint(scrollableArea.scrollPosition()));
}
-TEST_F(GraphicsLayerTest, DISABLED_setContentsToSolidColor)
-{
- m_graphicsLayer->setContentsToSolidColor(Color::transparent);
- EXPECT_FALSE(m_graphicsLayer->contentsLayer());
-
- m_graphicsLayer->setContentsToSolidColor(Color::white);
- EXPECT_TRUE(m_graphicsLayer->contentsLayer());
-
- m_graphicsLayer->setContentsToSolidColor(Color());
- EXPECT_FALSE(m_graphicsLayer->contentsLayer());
-}
-
} // namespace
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | public/platform/WebCompositorSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698