          break;
      }
    }
-@@ -608,7 +599,7 @@ class CollapseProperties implements CompilerPass {
+@@ -608,7 +606,7 @@ class CollapseProperties implements CompilerPass {
     * @param alias The flattened name for {@code n} (e.g. "a", "a$b$c")
     */
    private void updateObjLitOrFunctionDeclarationAtAssignNode(

diff --git a/src/com/google/javascript/jscomp/CollapseProperties.java b/src/com/google/javascript/jscomp/CollapseProperties.java
index abe01595..b5083826 100644
--- a/src/com/google/javascript/jscomp/CollapseProperties.java
+++ b/src/com/google/javascript/jscomp/CollapseProperties.java
@@ -452,8 +452,8 @@ class CollapseProperties implements CompilerPass {

-    if (!canCollapseChildNames) {
-      return;
-    }
+  private void updateObjLitOrFunctionDeclarationAtVarNode(Name n) {
 
     Ref ref = n.declaration;
     String name = ref.node.getString();
@@ -747,11 +739,7 @@ class CollapseProperties implements CompilerPass {
    *
    * @param n An object representing a global name (e.g. "a")
    */
