Index: cc/trees/property_tree.cc |
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc |
index d2b3783a5724dc82c0c44fadb6e5c24e3e3b5279..87d69fe7daf65c4c76b7156effacb7ff8527612e 100644 |
--- a/cc/trees/property_tree.cc |
+++ b/cc/trees/property_tree.cc |
@@ -172,25 +172,6 @@ bool TransformTree::ComputeTransformWithDestinationSublayerScale( |
return success; |
} |
-bool TransformTree::ComputeTransformWithSourceSublayerScale( |
- int source_id, |
- int dest_id, |
- gfx::Transform* transform) const { |
- bool success = ComputeTransform(source_id, dest_id, transform); |
- |
- const TransformNode* source_node = Node(source_id); |
- if (!source_node->needs_sublayer_scale) |
- return success; |
- |
- if (source_node->sublayer_scale.x() == 0 || |
- source_node->sublayer_scale.y() == 0) |
- return false; |
- |
- transform->Scale(1.f / source_node->sublayer_scale.x(), |
- 1.f / source_node->sublayer_scale.y()); |
- return success; |
-} |
- |
bool TransformTree::Are2DAxisAligned(int source_id, int dest_id) const { |
gfx::Transform transform; |
return ComputeTransform(source_id, dest_id, &transform) && |