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

Unified Diff: tracing/tracing/ui/base/hotkey_controller_test.html

Issue 1928873003: Use Polymer.dom with many dom manipulations. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: fixes Created 4 years, 8 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 | « tracing/tracing/ui/base/hotkey_controller.html ('k') | tracing/tracing/ui/base/info_bar.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/hotkey_controller_test.html
diff --git a/tracing/tracing/ui/base/hotkey_controller_test.html b/tracing/tracing/ui/base/hotkey_controller_test.html
index f5a1e3556dde05cd73223a00b8a7a521636d7604..2ef4c5bb7374687e974583e0e8d4cd46d656deef 100644
--- a/tracing/tracing/ui/base/hotkey_controller_test.html
+++ b/tracing/tracing/ui/base/hotkey_controller_test.html
@@ -57,7 +57,7 @@ tr.b.unittest.testSuite(function() {
assert.isTrue(didGetCalled);
} finally {
- document.body.removeChild(rootElement);
+ Polymer.dom(document.body).removeChild(rootElement);
}
});
@@ -93,7 +93,7 @@ tr.b.unittest.testSuite(function() {
rootElement.dispatchEvent(e);
assert.isTrue(didGetCalled);
} finally {
- document.body.removeChild(rootElement);
+ Polymer.dom(document.body).removeChild(rootElement);
}
});
@@ -130,7 +130,7 @@ tr.b.unittest.testSuite(function() {
inputEl.dispatchEvent(e);
assert.isFalse(didGetCalled);
} finally {
- document.body.removeChild(rootElement);
+ Polymer.dom(document.body).removeChild(rootElement);
}
});
« no previous file with comments | « tracing/tracing/ui/base/hotkey_controller.html ('k') | tracing/tracing/ui/base/info_bar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698