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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Collections.h

Issue 2150333003: [DevTools] Compatibility with old STL libraries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo in the build file. Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/inspector_protocol/PlatformSTL.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/inspector_protocol/Collections.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Collections.h b/third_party/WebKit/Source/platform/inspector_protocol/Collections.h
index fb9b08fd2e1ebac0b4bb352bb1980481260d9ede..a89bef413811e3af764275a5c6b6c788479d74a0 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/Collections.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Collections.h
@@ -7,7 +7,7 @@
#include <cstddef>
-#if V8_INSPECTOR_USE_OLD_STL
+#if defined(__APPLE__) && !defined(_LIBCPP_VERSION)
#include <map>
#include <set>
@@ -33,7 +33,7 @@ template <class Key> using HashSet = std::unordered_set<Key>;
} // namespace protocol
} // namespace blink
-#endif // V8_INSPECTOR_USE_STL
+#endif // defined(__APPLE__) && !defined(_LIBCPP_VERSION)
// Macro that returns a compile time constant with the length of an array, but gives an error if passed a non-array.
template<typename T, std::size_t Size> char (&ArrayLengthHelperFunction(T (&)[Size]))[Size];
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/inspector_protocol/PlatformSTL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698