diff --git a/src/com/google/javascript/jscomp/CollapseProperties.java b/src/com/google/javascript/jscomp/CollapseProperties.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CollapseProperties.java
+++ b/src/com/google/javascript/jscomp/CollapseProperties.java
@@ -943,7 +943,7 @@ class CollapseProperties implements CompilerPass {
 
     if (isObjLit) {
       numChanges += declareVarsForObjLitValues(
-          n, name, rvalue, varNode, grandparent.getChildBefore(varNode),
+          n, name, rvalue, varNode, varNode.getPrevious(),
           grandparent);
     }
Remove reference to getChildBefore, getPrevious is preferred.

-------------
Created by MOE: <URL>