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

Unified Diff: Source/WTF/wtf/Assertions.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 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
« no previous file with comments | « Source/WTF/config.h ('k') | Source/WTF/wtf/DisallowCType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WTF/wtf/Assertions.cpp
diff --git a/Source/WTF/wtf/Assertions.cpp b/Source/WTF/wtf/Assertions.cpp
index ad8ce86b85d6b8494b6ce0a80f5594f2467f008e..60eba442d584eeb5595157c9611ba9972df979aa 100644
--- a/Source/WTF/wtf/Assertions.cpp
+++ b/Source/WTF/wtf/Assertions.cpp
@@ -279,14 +279,8 @@ void WTFReportBacktrace()
WTFPrintBacktrace(samples + framesToSkip, frames - framesToSkip);
}
-#if OS(DARWIN) || OS(LINUX)
-# if PLATFORM(QT) || PLATFORM(GTK)
-# if defined(__GLIBC__) && !defined(__UCLIBC__)
-# define WTF_USE_BACKTRACE_SYMBOLS 1
-# endif
-# elif !OS(ANDROID)
-# define WTF_USE_DLADDR 1
-# endif
+#if OS(DARWIN) || (OS(LINUX) && !OS(ANDROID))
+#define WTF_USE_DLADDR 1
#endif
void WTFPrintBacktrace(void** stack, int size)
« no previous file with comments | « Source/WTF/config.h ('k') | Source/WTF/wtf/DisallowCType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698