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

Unified Diff: Source/WebCore/bindings/dart/custom/DartXMLHttpRequestCustom.cpp

Issue 9288026: Switch to using dartdomgenerator.py for Dart interface and implementation generation. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Address comments Created 8 years, 11 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/WebCore/bindings/dart/custom/DartXMLHttpRequestCustom.cpp
diff --git a/Source/WebCore/bindings/dart/custom/DartXMLHttpRequestCustom.cpp b/Source/WebCore/bindings/dart/custom/DartXMLHttpRequestCustom.cpp
index f9065476395e3fd32b05e24028f12f5b5526308e..31671c89b725eddf318d8a65e804b5f59015aad6 100644
--- a/Source/WebCore/bindings/dart/custom/DartXMLHttpRequestCustom.cpp
+++ b/Source/WebCore/bindings/dart/custom/DartXMLHttpRequestCustom.cpp
@@ -57,7 +57,7 @@ void constructorCallback(Dart_NativeArguments args)
}
RefPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context);
- DartDOMWrapper::bindDOMObjectToDartWrapper(xmlHttpRequest.get(), Dart_GetNativeArgument(args, 0));
+ DartDOMWrapper::returnValue(args, xmlHttpRequest.get());
return;
}

Powered by Google App Engine
This is Rietveld 408576698