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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2120713002: Fix use_image_texture_target inconsistencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix content browsertests 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/test/fake_resource_provider.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 6f7b14897cae7cb6959252cb8e83449450b190fd..703ab7497109bd8d0252657f43500b7ebf4f7ded 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -19,6 +19,7 @@
#include "cc/input/input_handler.h"
#include "cc/layers/layer.h"
#include "cc/layers/layer_impl.h"
+#include "cc/output/buffer_to_texture_target_map.h"
#include "cc/proto/compositor_message_to_impl.pb.h"
#include "cc/test/animation_test_common.h"
#include "cc/test/begin_frame_args_test.h"
@@ -884,6 +885,8 @@ void LayerTreeTest::RunTest(CompositorMode mode, bool delegating_renderer) {
settings_.background_animation_rate = 200.0;
settings_.verify_clip_tree_calculations = true;
settings_.verify_transform_tree_calculations = true;
+ settings_.renderer_settings.buffer_to_texture_target_map =
+ DefaultBufferToTextureTargetMapForTesting();
InitializeSettings(&settings_);
base::ThreadTaskRunnerHandle::Get()->PostTask(
« no previous file with comments | « cc/test/fake_resource_provider.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698