Index: cc/trees/property_tree.cc |
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc |
index af6e451a922933eaa1d66b458e59543d8fe6b343..f4f78d9f4a2b9c586a92a13028e53793b18420c0 100644 |
--- a/cc/trees/property_tree.cc |
+++ b/cc/trees/property_tree.cc |
@@ -130,9 +130,9 @@ void TransformTree::clear() { |
} |
void TransformTree::set_needs_update(bool needs_update) { |
- if (needs_update && !needs_update_) |
+ if (needs_update && !PropertyTree<TransformNode>::needs_update()) |
property_trees()->UpdateTransformTreeUpdateNumber(); |
- needs_update_ = needs_update; |
+ PropertyTree<TransformNode>::set_needs_update(needs_update); |
} |
bool TransformTree::ComputeTranslation(int source_id, |