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

Side by Side Diff: cc/test/layer_tree_host_common_test.cc

Issue 2166043002: cc: Compute target space transform dynamically (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert ancestors_are_invertible change Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « cc/test/layer_tree_host_common_test.h ('k') | cc/test/test_layer_tree_host_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/test/layer_tree_host_common_test.h" 5 #include "cc/test/layer_tree_host_common_test.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "cc/layers/layer.h" 9 #include "cc/layers/layer.h"
10 #include "cc/layers/layer_impl.h" 10 #include "cc/layers/layer_impl.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 bool LayerTreeHostCommonTestBase::UpdateLayerListContains(int id) const { 221 bool LayerTreeHostCommonTestBase::UpdateLayerListContains(int id) const {
222 for (size_t i = 0; i < update_layer_list_.size(); ++i) { 222 for (size_t i = 0; i < update_layer_list_.size(); ++i) {
223 if (update_layer_list_[i]->id() == id) 223 if (update_layer_list_[i]->id() == id)
224 return true; 224 return true;
225 } 225 }
226 return false; 226 return false;
227 } 227 }
228 228
229 LayerTreeHostCommonTest::LayerTreeHostCommonTest() 229 LayerTreeHostCommonTest::LayerTreeHostCommonTest()
230 : LayerTreeHostCommonTestBase(LayerTreeSettings()) {} 230 : LayerTreeHostCommonTestBase(LayerTreeHostCommonTestSettings()) {}
231 231
232 LayerTreeHostCommonTest::LayerTreeHostCommonTest( 232 LayerTreeHostCommonTest::LayerTreeHostCommonTest(
233 const LayerTreeSettings& settings) 233 const LayerTreeSettings& settings)
234 : LayerTreeHostCommonTestBase(settings) { 234 : LayerTreeHostCommonTestBase(settings) {
235 } 235 }
236 236
237 } // namespace cc 237 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/layer_tree_host_common_test.h ('k') | cc/test/test_layer_tree_host_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698