| 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
|
|
|