diff options
Diffstat (limited to 'chromium/v8/src/inspector/inspected-context.h')
-rw-r--r-- | chromium/v8/src/inspector/inspected-context.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chromium/v8/src/inspector/inspected-context.h b/chromium/v8/src/inspector/inspected-context.h index d3f0fe012b8..50e5a87bb3a 100644 --- a/chromium/v8/src/inspector/inspected-context.h +++ b/chromium/v8/src/inspector/inspected-context.h @@ -9,12 +9,18 @@ #include <unordered_map> #include <unordered_set> -#include "include/v8.h" +#include "include/v8-local-handle.h" +#include "include/v8-persistent-handle.h" #include "src/base/macros.h" #include "src/debug/debug-interface.h" #include "src/inspector/string-16.h" #include "src/inspector/v8-debugger-id.h" +namespace v8 { +class Context; +class Object; +} // namespace v8 + namespace v8_inspector { class InjectedScript; @@ -71,7 +77,7 @@ class InspectedContext { std::unordered_set<int> m_reportedSessionIds; std::unordered_map<int, std::unique_ptr<InjectedScript>> m_injectedScripts; WeakCallbackData* m_weakCallbackData; - v8::Global<v8::debug::WeakMap> m_internalObjects; + v8::Global<v8::debug::EphemeronTable> m_internalObjects; }; } // namespace v8_inspector |