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

Unified Diff: tools/dom/src/dartium_Platform.dart

Issue 27223003: Deprecate query and queryAll, also add back querySelector and querySelectorAll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: tools/dom/src/dartium_Platform.dart
diff --git a/tools/dom/src/dartium_Platform.dart b/tools/dom/src/dartium_Platform.dart
index 34fdecced846032215b4712995dbfd2a21350526..ce54b0bae6d25568468ec19ee8a4e1b4658a0fe5 100644
--- a/tools/dom/src/dartium_Platform.dart
+++ b/tools/dom/src/dartium_Platform.dart
@@ -30,7 +30,7 @@ class Platform {
static void upgradeCustomElements(Node node) {
// no-op, provided for dart2js polyfill.
if (node is Element) {
- (node as Element).queryAll('*');
+ (node as Element).querySelectorAll('*');
} else {
node.nodes.forEach(upgradeCustomElements);
}

Powered by Google App Engine
This is Rietveld 408576698