| Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
|
| index defb7f692a10e9eddb455d5d8450cdadda18d4f2..357d7765fb6f99d44e11cce1328529aba59e6aca 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
|
| @@ -6,7 +6,8 @@
|
| <script>
|
| function test() {
|
| var suggestions = ["heyoo", "hey it's a suggestion", "hey another suggestion"];
|
| - var prompt = new WebInspector.TextPrompt((element, range, force, callback) => callback(suggestions));
|
| + var prompt = new WebInspector.TextPrompt();
|
| + prompt.initialize((element, range, force, callback) => callback(suggestions));
|
| prompt.setSuggestBoxEnabled(true);
|
| var div = document.createElement("div");
|
| WebInspector.inspectorView.element.appendChild(div);
|
|
|