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

Unified Diff: Source/bindings/v8/V8PerIsolateData.cpp

Issue 167683003: use v8 Microtask Queue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: cr changes Created 6 years, 10 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: Source/bindings/v8/V8PerIsolateData.cpp
diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp
index 2d1da2834cb0aef284cffed216ac8a7d6db36a87..b392b89fe98d1b03207d8fb01da39322514d3dc5 100644
--- a/Source/bindings/v8/V8PerIsolateData.cpp
+++ b/Source/bindings/v8/V8PerIsolateData.cpp
@@ -126,13 +126,13 @@ void V8PerIsolateData::setPrivateTemplate(WrapperWorldType currentWorldType, voi
templateMap(currentWorldType).add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
}
-v8::Local<v8::Context> V8PerIsolateData::ensureRegexContext()
+v8::Local<v8::Context> V8PerIsolateData::ensureDomInJSContext()
{
- if (m_regexContext.isEmpty()) {
+ if (m_domInJSContext.isEmpty()) {
v8::HandleScope handleScope(m_isolate);
- m_regexContext.set(m_isolate, v8::Context::New(m_isolate));
+ m_domInJSContext.set(m_isolate, v8::Context::New(m_isolate));
}
- return m_regexContext.newLocal(m_isolate);
+ return m_domInJSContext.newLocal(m_isolate);
}
bool V8PerIsolateData::hasInstanceInMainWorld(const WrapperTypeInfo* info, v8::Handle<v8::Value> value)

Powered by Google App Engine
This is Rietveld 408576698