Index: ui/snapshot/snapshot.gyp |
diff --git a/ui/snapshot/snapshot.gyp b/ui/snapshot/snapshot.gyp |
index 9f71d0d205ea1fe9e286661ee2c4b7d2fa34aefa..2346483b0ce4ab351d209fa339be8465efd26ce6 100644 |
--- a/ui/snapshot/snapshot.gyp |
+++ b/ui/snapshot/snapshot.gyp |
@@ -66,6 +66,12 @@ |
'../compositor/compositor.gyp:compositor_test_support', |
], |
}], |
+ # See http://crbug.com/162998#c4 for why this is needed. |
+ ['OS=="linux" and linux_use_tcmalloc==1', { |
+ 'dependencies': [ |
+ '../../base/allocator/allocator.gyp:allocator', |
+ ], |
+ }], |
], |
}, |
], |