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

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

Issue 429453010: Drop V8RecursionScope dependency on ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Factor out microtask fix/tests 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
Index: Source/bindings/core/v8/V8RecursionScope.h
diff --git a/Source/bindings/core/v8/V8RecursionScope.h b/Source/bindings/core/v8/V8RecursionScope.h
index 126406077b81ebd70c02c3c95ee8db589b8b4509..4b5dcff4b49262ea5f79a7be4f159fbe3f624b51 100644
--- a/Source/bindings/core/v8/V8RecursionScope.h
+++ b/Source/bindings/core/v8/V8RecursionScope.h
@@ -59,9 +59,8 @@ namespace blink {
class V8RecursionScope {
WTF_MAKE_NONCOPYABLE(V8RecursionScope);
public:
- V8RecursionScope(v8::Isolate* isolate, ExecutionContext* context)
+ V8RecursionScope(v8::Isolate* isolate)
haraken 2014/09/11 01:18:53 Add explicit.
jsbell 2014/09/11 22:14:51 Done.
: m_isolate(isolate)
- , m_executionContext(*context)
{
V8PerIsolateData::from(m_isolate)->incrementRecursionLevel();
RELEASE_ASSERT(!ScriptForbiddenScope::isScriptForbidden());
@@ -118,7 +117,6 @@ private:
void didLeaveScriptContext();
v8::Isolate* m_isolate;
- ExecutionContext& m_executionContext;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698