Index: ui/snapshot/snapshot.gyp |
diff --git a/ui/snapshot/snapshot.gyp b/ui/snapshot/snapshot.gyp |
index 95f2dacc649294683521b796beee8c2d782e04cc..f556772ac0b2104ee07df6975056a175a61fe787 100644 |
--- a/ui/snapshot/snapshot.gyp |
+++ b/ui/snapshot/snapshot.gyp |
@@ -72,7 +72,8 @@ |
], |
}], |
# See http://crbug.com/162998#c4 for why this is needed. |
- ['OS=="linux" and linux_use_tcmalloc==1', { |
+ # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
+ ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
'dependencies': [ |
'../../base/allocator/allocator.gyp:allocator', |
], |