Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h

Issue 18314006: Enable DMP for system Chromium WebView on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed android_use_tcmalloc==1 condition Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
diff --git a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
index 9bdcf5ab52a26fa11f5b7d3b918f5954a6f9abf8..2116a02f7c7fc9c9584394ac3f1ec637e77c4cb0 100644
--- a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
+++ b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
@@ -42,7 +42,9 @@
#include <unistd.h>
#if defined(__ANDROID__)
#include <sys/syscall.h>
-#include <sys/linux-syscalls.h>
+#ifndef ANDROID_NON_SDK_BUILD
+# include <sys/linux-syscalls.h>
willchan no longer on Chromium 2013/07/18 16:20:26 You did this here too, I must be misunderstanding
+#endif
#else
#include <syscall.h>
#endif

Powered by Google App Engine
This is Rietveld 408576698