Index: third_party/WebKit/Source/platform/v8_inspector/V8Compat.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Compat.h b/third_party/WebKit/Source/platform/v8_inspector/V8Compat.h |
deleted file mode 100644 |
index d623da1a616f399069cb931362be63fd9dddcec3..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Compat.h |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef V8Compat_h |
-#define V8Compat_h |
- |
-#include <v8.h> |
- |
-#if V8_MAJOR_VERSION < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 1) |
-namespace v8 { |
- |
-// In standalone V8 inspector this is expected to be noop anyways... |
-class V8_EXPORT MicrotasksScope { |
-public: |
- enum Type { kRunMicrotasks, kDoNotRunMicrotasks }; |
- |
- MicrotasksScope(Isolate* isolate, Type type) |
- { |
- // No-op |
- } |
-}; |
- |
-} // namespace v8 |
-#define V8_FUNCTION_NEW_REMOVE_PROTOTYPE(context, callback, data, length) \ |
- v8::Function::New((context), (callback), (data), (length)) |
-#else |
-#define V8_FUNCTION_NEW_REMOVE_PROTOTYPE(context, callback, data, length) \ |
- v8::Function::New((context), (callback), (data), (length), v8::ConstructorBehavior::kThrow) |
-#endif // V8_MAJOR_VERSION < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 1) |
- |
-#endif // V8Compat_h |