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

Unified Diff: cc/trees/property_tree.cc

Issue 2715243008: cc : Fix transform calculation bug while calculating clip rects (Closed)
Patch Set: Created 3 years, 10 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/trees/property_tree.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index ee90aa87fafa6de4f7c2da7e4203cbb601da1f0c..6bb8e50f8a13e8cc5e23cc51a0d5c5b554548c0a 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -2087,20 +2087,4 @@ gfx::Transform PropertyTrees::ToScreenSpaceTransformWithoutSurfaceContentsScale(
return screen_space_transform;
}
-bool PropertyTrees::ComputeTransformFromTarget(
- int transform_id,
- int effect_id,
- gfx::Transform* transform) const {
- transform->MakeIdentity();
- if (transform_id == TransformTree::kInvalidNodeId)
- return true;
-
- const EffectNode* effect_node = effect_tree.Node(effect_id);
-
- bool success = GetFromTarget(transform_id, effect_id, transform);
- transform->Scale(effect_node->surface_contents_scale.x(),
- effect_node->surface_contents_scale.y());
- return success;
-}
-
} // namespace cc
« no previous file with comments | « cc/trees/property_tree.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698