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

Unified Diff: cc/surfaces/surfaces_pixeltest.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/surfaces/surface_unittest.cc ('k') | cc/test/begin_frame_args_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surfaces_pixeltest.cc
diff --git a/cc/surfaces/surfaces_pixeltest.cc b/cc/surfaces/surfaces_pixeltest.cc
index c70028b7281f5ded3f2826712433b8212238501b..bf9d4834fbcd68afaffd9bb9bbaaaafdbf066634 100644
--- a/cc/surfaces/surfaces_pixeltest.cc
+++ b/cc/surfaces/surfaces_pixeltest.cc
@@ -85,7 +85,7 @@ TEST_F(SurfacesPixelTest, DrawSimpleFrame) {
root_frame->delegated_frame_data = delegated_frame_data.Pass();
SurfaceId root_surface_id = allocator_.GenerateId();
- factory_.Create(root_surface_id, device_viewport_size_);
+ factory_.Create(root_surface_id);
factory_.SubmitFrame(root_surface_id, root_frame.Pass(), base::Closure());
SurfaceAggregator aggregator(&manager_, resource_provider_.get());
@@ -107,8 +107,8 @@ TEST_F(SurfacesPixelTest, DrawSimpleAggregatedFrame) {
gfx::Size child_size(200, 100);
SurfaceId child_surface_id = allocator_.GenerateId();
SurfaceId root_surface_id = allocator_.GenerateId();
- factory_.Create(child_surface_id, child_size);
- factory_.Create(root_surface_id, device_viewport_size_);
+ factory_.Create(child_surface_id);
+ factory_.Create(root_surface_id);
{
gfx::Rect rect(device_viewport_size_);
RenderPassId id(1, 1);
@@ -199,9 +199,9 @@ TEST_F(SurfacesPixelTest, DrawAggregatedFrameWithSurfaceTransforms) {
SurfaceId left_child_id = allocator_.GenerateId();
SurfaceId right_child_id = allocator_.GenerateId();
SurfaceId root_surface_id = allocator_.GenerateId();
- factory_.Create(left_child_id, child_size);
- factory_.Create(right_child_id, child_size);
- factory_.Create(root_surface_id, device_viewport_size_);
+ factory_.Create(left_child_id);
+ factory_.Create(right_child_id);
+ factory_.Create(root_surface_id);
{
gfx::Rect rect(device_viewport_size_);
« no previous file with comments | « cc/surfaces/surface_unittest.cc ('k') | cc/test/begin_frame_args_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698