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 27048002: Removing explicit custom element upgrade for Dartium (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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5ae23c94adb458ef3a67288e4980f4b366ea91f7 100644
--- a/tools/dom/src/dartium_Platform.dart
+++ b/tools/dom/src/dartium_Platform.dart
@@ -24,15 +24,8 @@ class Platform {
*
* This is needed to cover timing scenarios which the custom element polyfill
* does not cover.
- *
- * This is also a workaround for dartbug.com/12642 in Dartium.
*/
static void upgradeCustomElements(Node node) {
// no-op, provided for dart2js polyfill.
- if (node is Element) {
- (node as Element).queryAll('*');
- } else {
- node.nodes.forEach(upgradeCustomElements);
- }
}
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698