Index: chrome/test/data/webui/md_history/md_history_browsertest.js |
diff --git a/chrome/test/data/webui/md_history/md_history_browsertest.js b/chrome/test/data/webui/md_history/md_history_browsertest.js |
index 200a0c120ead8f14c5c2986b8144c1102a65a206..f2a329a5342535ef26fc581f13f174deaee524d6 100644 |
--- a/chrome/test/data/webui/md_history/md_history_browsertest.js |
+++ b/chrome/test/data/webui/md_history/md_history_browsertest.js |
@@ -45,7 +45,7 @@ MaterialHistoryBrowserTest.prototype = { |
suiteSetup(function() { |
// Wait for the top-level app element to be upgraded. |
- return waitForUpgrade($('history-app')).then(function() { |
+ return waitForAppUpgrade().then(function() { |
$('history-app').queryState_.queryingDisabled = true; |
}); |
}); |
@@ -132,7 +132,7 @@ MaterialHistoryWithQueryParamTest.prototype = { |
}); |
// Wait for the top-level app element to be upgraded. |
- return waitForUpgrade($('history-app')); |
+ return waitForAppUpgrade(); |
}); |
}, |
}; |