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

Side by Side Diff: cc/layers/layer.cc

Issue 2808413002: Rename Layer::screen_space_transform to Layer::ScreenSpaceTransform (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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/layers/layer.h" 5 #include "cc/layers/layer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 inputs_.mutable_properties = properties; 1436 inputs_.mutable_properties = properties;
1437 SetNeedsCommit(); 1437 SetNeedsCommit();
1438 } 1438 }
1439 1439
1440 int Layer::num_copy_requests_in_target_subtree() { 1440 int Layer::num_copy_requests_in_target_subtree() {
1441 return layer_tree_host_->property_trees() 1441 return layer_tree_host_->property_trees()
1442 ->effect_tree.Node(effect_tree_index()) 1442 ->effect_tree.Node(effect_tree_index())
1443 ->num_copy_requests_in_subtree; 1443 ->num_copy_requests_in_subtree;
1444 } 1444 }
1445 1445
1446 gfx::Transform Layer::screen_space_transform() const { 1446 gfx::Transform Layer::ScreenSpaceTransform() const {
1447 DCHECK_NE(transform_tree_index_, TransformTree::kInvalidNodeId); 1447 DCHECK_NE(transform_tree_index_, TransformTree::kInvalidNodeId);
1448 return draw_property_utils::ScreenSpaceTransform( 1448 return draw_property_utils::ScreenSpaceTransform(
1449 this, layer_tree_host_->property_trees()->transform_tree); 1449 this, layer_tree_host_->property_trees()->transform_tree);
1450 } 1450 }
1451 1451
1452 } // namespace cc 1452 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698