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

Unified Diff: components/exo/surface_unittest.cc

Issue 2101453002: Re-land: exo: Take blending into account when setting opaque property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test Created 4 years, 6 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 | « components/exo/surface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface_unittest.cc
diff --git a/components/exo/surface_unittest.cc b/components/exo/surface_unittest.cc
index 6c7ca96819c55eeafba52e841726ef75c13a6185..4ebc6bb142a985f6c1604d3a8555f4d0d153723f 100644
--- a/components/exo/surface_unittest.cc
+++ b/components/exo/surface_unittest.cc
@@ -206,8 +206,6 @@ TEST_F(SurfaceTest, SetBlendMode) {
surface->SetBlendMode(SkXfermode::kSrc_Mode);
surface->Commit();
- EXPECT_FALSE(surface->window()->layer()->fills_bounds_opaquely());
-
const cc::DelegatedFrameData* frame_data = GetFrameFromSurface(surface.get());
ASSERT_EQ(1u, frame_data->render_pass_list.size());
ASSERT_EQ(1u, frame_data->render_pass_list.back()->quad_list.size());
« no previous file with comments | « components/exo/surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698