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

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

Issue 10696209: MutationObserver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | lib/dom/dom.dart » ('j') | tests/html/mutationobserver_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/native_helper.dart
diff --git a/lib/compiler/implementation/lib/native_helper.dart b/lib/compiler/implementation/lib/native_helper.dart
index 1d786cefdfc9abcc62b259eec7353bf1d00c52dd..38eab49b1502578f4eb5df465c82ad496fac9b93 100644
--- a/lib/compiler/implementation/lib/native_helper.dart
+++ b/lib/compiler/implementation/lib/native_helper.dart
@@ -6,6 +6,7 @@ String typeNameInChrome(obj) {
String name = JS('String', "#.constructor.name", obj);
if (name == 'Window') return 'DOMWindow';
if (name == 'CanvasPixelArray') return 'Uint8ClampedArray';
+ if (name == 'WebKitMutationObserver') return 'MutationObserver';
return name;
}
« no previous file with comments | « no previous file | lib/dom/dom.dart » ('j') | tests/html/mutationobserver_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698