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

Unified Diff: Source/bindings/core/v8/V8PerIsolateData.h

Issue 429453010: Drop V8RecursionScope dependency on ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reorder cleanup methods per haraken Created 6 years, 3 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 | « Source/bindings/core/v8/ModuleProxy.cpp ('k') | Source/bindings/core/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8PerIsolateData.h
diff --git a/Source/bindings/core/v8/V8PerIsolateData.h b/Source/bindings/core/v8/V8PerIsolateData.h
index a73c58ff1eebae6aac032cfd7f3098e6e61e372a..c953b78739418f60a92a4438ba2e2916857bbb24 100644
--- a/Source/bindings/core/v8/V8PerIsolateData.h
+++ b/Source/bindings/core/v8/V8PerIsolateData.h
@@ -32,6 +32,7 @@
#include "bindings/core/v8/WrapperTypeInfo.h"
#include "gin/public/gin_embedders.h"
#include "gin/public/isolate_holder.h"
+#include "modules/indexeddb/IDBPendingTransactionMonitor.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/OwnPtr.h"
@@ -58,7 +59,9 @@ public:
ASSERT(isolate->GetData(gin::kEmbedderBlink));
return static_cast<V8PerIsolateData*>(isolate->GetData(gin::kEmbedderBlink));
}
- static void dispose(v8::Isolate*);
+
+ static void willBeDestroyed(v8::Isolate*);
+ static void destroy(v8::Isolate*);
static v8::Isolate* mainThreadIsolate();
v8::Isolate* isolate() { return m_isolateHolder->isolate(); }
@@ -99,6 +102,8 @@ public:
const char* previousSamplingState() const { return m_previousSamplingState; }
void setPreviousSamplingState(const char* name) { m_previousSamplingState = name; }
+ IDBPendingTransactionMonitor* ensureIDBPendingTransactionMonitor();
+
private:
V8PerIsolateData();
~V8PerIsolateData();
@@ -130,6 +135,8 @@ private:
#endif
OwnPtr<GCEventData> m_gcEventData;
bool m_performingMicrotaskCheckpoint;
+
+ OwnPtr<IDBPendingTransactionMonitor> m_idbPendingTransactionMonitor;
};
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/ModuleProxy.cpp ('k') | Source/bindings/core/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698