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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/native_helper.dart

Issue 11552012: Address code-review comments for https://codereview.chromium.org//11553015 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | tests/compiler/dart2js_native/native_novel_html_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
index 353652d9bc9c04686ed56f67097bd78ebe5c51af..f6f88c707939baaa596e9ce63a6a97ac97a48517 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart
@@ -236,9 +236,9 @@ dynamicBind(var obj,
var method = dynamicBindLookup(hasOwnPropertyFunction, tag, methods);
if (method == null) {
- String altTag = alternateTag(obj, tag);
- if (altTag != null) {
- method = dynamicBindLookup(hasOwnPropertyFunction, altTag, methods);
+ String secondTag = alternateTag(obj, tag);
+ if (secondTag != null) {
+ method = dynamicBindLookup(hasOwnPropertyFunction, secondTag, methods);
}
}
« no previous file with comments | « no previous file | tests/compiler/dart2js_native/native_novel_html_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698