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

Unified Diff: cc/resources/picture_pile_unittest.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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/resources/picture_pile_impl.cc ('k') | cc/resources/pixel_buffer_tile_task_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile_unittest.cc
diff --git a/cc/resources/picture_pile_unittest.cc b/cc/resources/picture_pile_unittest.cc
index 98ce3b18a07f40afabd326db98d466123fdf514f..4e3fe157f40e32695b97843e11515e11b65213b1 100644
--- a/cc/resources/picture_pile_unittest.cc
+++ b/cc/resources/picture_pile_unittest.cc
@@ -17,7 +17,10 @@ namespace {
class PicturePileTestBase {
public:
- PicturePileTestBase() : min_scale_(0.125), frame_number_(0) {}
+ PicturePileTestBase()
+ : min_scale_(0.125),
+ pile_(min_scale_, gfx::Size(1000, 1000)),
+ frame_number_(0) {}
void InitializeData() {
pile_.SetTileGridSize(gfx::Size(1000, 1000));
@@ -53,8 +56,8 @@ class PicturePileTestBase {
}
FakeContentLayerClient client_;
- FakePicturePile pile_;
float min_scale_;
+ FakePicturePile pile_;
int frame_number_;
};
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | cc/resources/pixel_buffer_tile_task_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698