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

Unified Diff: Source/bindings/dart/custom/DartDocumentCustom.cpp

Issue 23513085: Incorporating review feedback from https://codereview.chromium.org/24294002/ (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 7 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/dart/custom/DartDocumentCustom.cpp
diff --git a/Source/bindings/dart/custom/DartDocumentCustom.cpp b/Source/bindings/dart/custom/DartDocumentCustom.cpp
index e3e4b8d69d94bb5681f52a370b84701a5f98495a..deab8b1e2051e7930d893aaed1efa38d1a615acf 100644
--- a/Source/bindings/dart/custom/DartDocumentCustom.cpp
+++ b/Source/bindings/dart/custom/DartDocumentCustom.cpp
@@ -88,7 +88,7 @@ void createElementCallback(Dart_NativeArguments args)
}
}
- Dart_SetReturnValue(args, DartElement::toDart(result));
+ DartElement::returnToDart(args, result);
if (es.hadException()) {
exception = DartDOMWrapper::exceptionCodeToDartException(es);
goto fail;
@@ -132,7 +132,7 @@ void createElementNSCallback(Dart_NativeArguments args)
}
}
- Dart_SetReturnValue(args, DartElement::toDart(result));
+ DartElement::returnToDart(args, result);
if (es.hadException()) {
exception = DartDOMWrapper::exceptionCodeToDartException(es);
goto fail;

Powered by Google App Engine
This is Rietveld 408576698