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

Unified Diff: cc/layers/picture_layer_unittest.cc

Issue 2185973005: cc: Move solid color scrollbar layer data in a seperate struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: .. Created 4 years, 5 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 | « cc/layers/picture_layer.cc ('k') | cc/layers/solid_color_scrollbar_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_unittest.cc
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
index 1a80b597406ab22d53957a835cda6fc3139b5c04..27a73d5ddfb27499bca6b58aaadc8b7cc263aeda 100644
--- a/cc/layers/picture_layer_unittest.cc
+++ b/cc/layers/picture_layer_unittest.cc
@@ -62,7 +62,7 @@ class TestSerializationPictureLayer : public PictureLayer {
void set_is_mask(bool is_mask) { is_mask_ = is_mask; }
void set_nearest_neighbor(bool nearest_neighbor) {
- inputs_.nearest_neighbor = nearest_neighbor;
+ picture_layer_inputs_.nearest_neighbor = nearest_neighbor;
}
void ValidateSerialization(
@@ -94,7 +94,8 @@ class TestSerializationPictureLayer : public PictureLayer {
EXPECT_TRUE(recording_source()->EqualsTo(*layer->recording_source()));
EXPECT_EQ(update_source_frame_number_, layer->update_source_frame_number_);
EXPECT_EQ(is_mask_, layer->is_mask_);
- EXPECT_EQ(inputs_.nearest_neighbor, layer->inputs_.nearest_neighbor);
+ EXPECT_EQ(picture_layer_inputs_.nearest_neighbor,
+ layer->picture_layer_inputs_.nearest_neighbor);
}
std::vector<uint32_t> GetPictureIds() {
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/solid_color_scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698