summaryrefslogtreecommitdiff
blob: 547cdc35ba867430e34ea98e1b696603a9b1aa62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- chrome/renderer/chrome_render_process_observer.cc.orig	2012-05-16 11:13:01.000000000 +0200
+++ chrome/renderer/chrome_render_process_observer.cc	2012-05-16 11:17:57.000000000 +0200
@@ -35,7 +35,6 @@
 #include "net/base/net_errors.h"
 #include "net/base/net_module.h"
 #include "third_party/sqlite/sqlite3.h"
-#include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h"
 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCrossOriginPreflightResultCache.h"
 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
@@ -49,6 +48,10 @@
 #include "base/win/iat_patch_function.h"
 #endif
 
+#if defined(USE_TCMALLOC)
+#include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h"
+#endif
+
 using WebKit::WebCache;
 using WebKit::WebCrossOriginPreflightResultCache;
 using WebKit::WebFontCache;