Index: chrome/renderer/chrome_render_process_observer.cc |
=================================================================== |
--- chrome/renderer/chrome_render_process_observer.cc (revision 136854) |
+++ chrome/renderer/chrome_render_process_observer.cc (working copy) |
@@ -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; |