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

Unified Diff: cc/layers/layer.cc

Issue 1859733002: cc: Remove usage of Layer draw_transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 60dd6b1680fa07ece93049152d2162da5aafd209..94155248e1d0800176e1465ecbc025bfb8cd0803 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -1836,12 +1836,6 @@ int Layer::num_copy_requests_in_target_subtree() {
->data.num_copy_requests_in_subtree;
}
-gfx::Transform Layer::draw_transform() const {
- DCHECK_NE(transform_tree_index_, -1);
- return draw_property_utils::DrawTransform(
- this, layer_tree_host_->property_trees()->transform_tree);
-}
-
gfx::Transform Layer::screen_space_transform() const {
DCHECK_NE(transform_tree_index_, -1);
return draw_property_utils::ScreenSpaceTransform(
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698