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

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

Issue 183833020: Re-land "Drop background color optimization for composited layers" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make Mac test bot pass Created 6 years, 9 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 0550c62e57dea8c063feb06b6d8f0536e1fae86f..fff5d6d3b92f83ebfa1f98c552a08ee132180bc2 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