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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/Atomics.h

Issue 2044343002: DevTools: update V8Inspector to work with the new v8_inspector API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment addressed Created 4 years, 6 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/WebKit/Source/platform/v8_inspector/Atomics.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/Atomics.h b/third_party/WebKit/Source/platform/v8_inspector/Atomics.h
index 5b331aee2be2b0d8638e6db4637779dad092197c..56cb3ab7ab9129a3c9bce2d905f1448b22320a0e 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/Atomics.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/Atomics.h
@@ -7,13 +7,13 @@
#include <stdint.h>
-#if COMPILER(MSVC)
+#if defined(_MSC_VER)
#include <windows.h>
#endif
namespace blink {
-#if COMPILER(MSVC)
+#if defined(_MSC_VER)
inline int atomicIncrement(int volatile* addend) { return InterlockedIncrement(reinterpret_cast<long volatile*>(addend)); }

Powered by Google App Engine
This is Rietveld 408576698