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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceConstructor.cpp

Issue 109943003: IDL compiler: [ConstructorCallWith] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add FIXME Created 7 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
« no previous file with comments | « Source/bindings/tests/idls/TestInterfaceConstructor.idl ('k') | Source/core/dom/Comment.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
index 8195cca1e556198fa6da7bc8fa17b3cb33ae336d..1dabbbde8cb42f9fc76de1031e5f20f78cdbb76c 100644
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
@@ -77,7 +77,9 @@ template <typename T> void V8_USE(T) { }
static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
{
ExceptionState exceptionState(info.Holder(), info.GetIsolate());
- RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(exceptionState);
+ ExecutionContext* context = getExecutionContext();
+ Document& document = *toDocument(getExecutionContext());
+ RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, exceptionState);
v8::Handle<v8::Object> wrapper = info.Holder();
if (exceptionState.throwIfNeeded())
return;
« no previous file with comments | « Source/bindings/tests/idls/TestInterfaceConstructor.idl ('k') | Source/core/dom/Comment.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698