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

Unified Diff: Source/wtf/ParallelJobs.h

Issue 14390002: Decrease the visibility of the ENABLE_THREADING_XX guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + remove the deleted file from the file list in gypi file Created 7 years, 7 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 | « no previous file | Source/wtf/ParallelJobsGeneric.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ParallelJobs.h
diff --git a/Source/wtf/ParallelJobs.h b/Source/wtf/ParallelJobs.h
index 0923886adedf7b1f3362ecf04f0c2a008041ea94..4ba3a16e40af8eaf2f0f992a5e8092958d90e3b8 100644
--- a/Source/wtf/ParallelJobs.h
+++ b/Source/wtf/ParallelJobs.h
@@ -49,12 +49,15 @@
// parallelJobs.execute();
//
+#if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H)
+#define ENABLE_THREADING_LIBDISPATCH 1
+#elif !defined(THREADING_GENERIC)
+#define ENABLE_THREADING_GENERIC 1
+#endif
+
#if ENABLE(THREADING_GENERIC)
#include <wtf/ParallelJobsGeneric.h>
-#elif ENABLE(THREADING_OPENMP)
-#include <wtf/ParallelJobsOpenMP.h>
-
#elif ENABLE(THREADING_LIBDISPATCH)
#include <wtf/ParallelJobsLibdispatch.h>
« no previous file with comments | « no previous file | Source/wtf/ParallelJobsGeneric.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698