| Index: chrome/test/data/webui/md_history/test_util.js
|
| diff --git a/chrome/test/data/webui/md_history/test_util.js b/chrome/test/data/webui/md_history/test_util.js
|
| index 7e4f6777154442503aa3fecade97f888d1249790..85eb24d8266801b35fbaa4c63b273417b3318cc3 100644
|
| --- a/chrome/test/data/webui/md_history/test_util.js
|
| +++ b/chrome/test/data/webui/md_history/test_util.js
|
| @@ -2,19 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -/*
|
| - * Waits for queued up tasks to finish before proceeding. Inspired by:
|
| - * https://github.com/Polymer/web-component-tester/blob/master/browser/environment/helpers.js#L97
|
| - */
|
| -function flush() {
|
| - Polymer.dom.flush();
|
| - // Promises have microtask timing, so we use setTimeout to explicity force a
|
| - // new task.
|
| - return new Promise(function(resolve, reject) {
|
| - window.setTimeout(resolve, 0);
|
| - });
|
| -}
|
| -
|
| /**
|
| * Replace the current primary element of the test with a new element. Useful
|
| * as an alternative to PolymerTest.clearBody() which preserves styling.
|
|
|