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

Unified Diff: cc/layers/picture_layer_unittest.cc

Issue 196343005: cc: Replace recorded region with direct map lookup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/layers/picture_layer_unittest.cc
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
index dc434157b97450599fa9a21e2a2fff1d69328d17..5e12d001e9bd66615140a3bdb0eb64dcbb461fbd 100644
--- a/cc/layers/picture_layer_unittest.cc
+++ b/cc/layers/picture_layer_unittest.cc
@@ -58,7 +58,7 @@ TEST(PictureLayerTest, NoTilesIfEmptyBounds) {
EXPECT_FALSE(layer_impl->CanHaveTilings());
EXPECT_TRUE(layer_impl->bounds() == gfx::Size(0, 0));
EXPECT_TRUE(layer_impl->pile()->size() == gfx::Size(0, 0));
- EXPECT_TRUE(layer_impl->pile()->recorded_region().IsEmpty());
+ EXPECT_FALSE(layer_impl->pile()->HasAnyRecordings());
}
#ifndef NDEBUG
proxy.SetCurrentThreadIsImplThread(false);

Powered by Google App Engine
This is Rietveld 408576698