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

Unified Diff: frog/corejs.dart

Issue 8511081: Better fix for client tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update status Created 9 years, 1 month 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 | « client/tests/client/client.status ('k') | frog/frogsh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/corejs.dart
diff --git a/frog/corejs.dart b/frog/corejs.dart
index 690201b258cc8e6658458e538c8fcd50cee7e908..818566f88d60cae236bc98af802ff0dc21d604c2 100644
--- a/frog/corejs.dart
+++ b/frog/corejs.dart
@@ -144,7 +144,7 @@ function ${name}(x, y) {
function $varMethod(name, methods) {
Object.prototype[name] = function() {
$patchMethod(this, name, methods);
- this[name].apply(this, Array.prototype.slice.call(arguments));
+ return this[name].apply(this, Array.prototype.slice.call(arguments));
};
}
function $patchMethod(obj, name, methods) {
« no previous file with comments | « client/tests/client/client.status ('k') | frog/frogsh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698