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

Unified Diff: Source/bindings/v8/ScriptRegexp.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
« no previous file with comments | « no previous file | Source/bindings/v8/V8PerIsolateData.h » ('j') | Source/core/dom/Microtask.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptRegexp.cpp
diff --git a/Source/bindings/v8/ScriptRegexp.cpp b/Source/bindings/v8/ScriptRegexp.cpp
index d0be2a1ec28d97ec8ba161c4246838126874a3a7..2475d45ed1c357ac5ac70a8e0805a2f3674795db 100644
--- a/Source/bindings/v8/ScriptRegexp.cpp
+++ b/Source/bindings/v8/ScriptRegexp.cpp
@@ -39,7 +39,7 @@ ScriptRegexp::ScriptRegexp(const String& pattern, TextCaseSensitivity caseSensit
{
v8::Isolate* isolate = v8::Isolate::GetCurrent();
v8::HandleScope handleScope(isolate);
- v8::Local<v8::Context> context = V8PerIsolateData::from(isolate)->ensureRegexContext();
+ v8::Local<v8::Context> context = V8PerIsolateData::from(isolate)->ensureDomInJSContext();
v8::Context::Scope scope(context);
unsigned flags = v8::RegExp::kNone;
@@ -70,7 +70,7 @@ int ScriptRegexp::match(const String& string, int startFrom, int* matchLength) c
v8::Isolate* isolate = v8::Isolate::GetCurrent();
v8::HandleScope handleScope(isolate);
- v8::Local<v8::Context> context = V8PerIsolateData::current()->ensureRegexContext();
+ v8::Local<v8::Context> context = V8PerIsolateData::current()->ensureDomInJSContext();
v8::Context::Scope scope(context);
v8::TryCatch tryCatch;
« no previous file with comments | « no previous file | Source/bindings/v8/V8PerIsolateData.h » ('j') | Source/core/dom/Microtask.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698