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

Unified Diff: runtime/bin/test_extension.c

Issue 15881009: Fix windows build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/test_extension.c
===================================================================
--- runtime/bin/test_extension.c (revision 23501)
+++ runtime/bin/test_extension.c (working copy)
@@ -53,16 +53,15 @@
/* Native entry point for the extension library. */
DART_EXPORT Dart_Handle test_extension_Init(Dart_Handle parent_library) {
+ Dart_Handle result_code;
if (Dart_IsError(parent_library)) {
return parent_library;
}
- Dart_Handle result_code =
- Dart_SetNativeResolver(parent_library, ResolveName);
+ result_code = Dart_SetNativeResolver(parent_library, ResolveName);
if (Dart_IsError(result_code)) {
return result_code;
}
return parent_library;
}
-
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698