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

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

Issue 2589363003: Use timer task runner for V8PerIsolate tasks (Closed)
Patch Set: One more fix Created 4 years 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/bindings/core/v8/V8PerIsolateData.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
index b81306172bf99548b06967fc2a9d745801ad385b..b4e05891a44b8bf5df5ffde47e5a3814f974f91a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
@@ -48,6 +48,7 @@ class DOMDataStore;
class StringCache;
class ThreadDebugger;
class V8PrivateProperty;
+class WebTaskRunner;
struct WrapperTypeInfo;
typedef WTF::Vector<DOMDataStore*> DOMDataStoreList;
@@ -89,7 +90,7 @@ class CORE_EXPORT V8PerIsolateData {
const bool m_originalUseCounterDisabled;
};
- static v8::Isolate* initialize();
+ static v8::Isolate* initialize(WebTaskRunner*);
static V8PerIsolateData* from(v8::Isolate* isolate) {
ASSERT(isolate);
@@ -175,7 +176,7 @@ class CORE_EXPORT V8PerIsolateData {
}
private:
- V8PerIsolateData();
+ explicit V8PerIsolateData(WebTaskRunner*);
~V8PerIsolateData();
static void useCounterCallback(v8::Isolate*, v8::Isolate::UseCounterFeature);

Powered by Google App Engine
This is Rietveld 408576698