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

Unified Diff: cc/test/layer_tree_pixel_resource_test.cc

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 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/test/layer_test_common.cc ('k') | cc/test/layer_tree_pixel_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_resource_test.cc
diff --git a/cc/test/layer_tree_pixel_resource_test.cc b/cc/test/layer_tree_pixel_resource_test.cc
index d961c4cd24787605e6661d30adfe022c636d75de..9117b2b7e13d9c2d57ca014417c7094388a685ff 100644
--- a/cc/test/layer_tree_pixel_resource_test.cc
+++ b/cc/test/layer_tree_pixel_resource_test.cc
@@ -11,7 +11,6 @@
#include "cc/raster/raster_buffer_provider.h"
#include "cc/raster/zero_copy_raster_buffer_provider.h"
#include "cc/resources/resource_pool.h"
-#include "cc/test/fake_output_surface.h"
#include "gpu/GLES2/gl2extchromium.h"
namespace cc {
@@ -116,9 +115,9 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndRasterBufferProvider(
DCHECK(initialized_);
ContextProvider* compositor_context_provider =
- host_impl->output_surface()->context_provider();
+ host_impl->compositor_frame_sink()->context_provider();
ContextProvider* worker_context_provider =
- host_impl->output_surface()->worker_context_provider();
+ host_impl->compositor_frame_sink()->worker_context_provider();
ResourceProvider* resource_provider = host_impl->resource_provider();
int max_bytes_per_copy_operation = 1024 * 1024;
int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024;
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/test/layer_tree_pixel_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698