Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js |
index 226c642d7b72bce57fa67335deb230f8f51ca5ba..cc9f09e38f86485629e3d1e0b0c64c0d6d63bc30 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js |
@@ -25,7 +25,7 @@ function test() { |
var filteredSelectionDialog = new QuickOpen.FilteredListWidget(provider, history); |
filteredSelectionDialog.showAsDialog(); |
- var promise = TestRunner.addSniffer(filteredSelectionDialog, "_itemsFilteredForTest").then(accept); |
+ var promise = TestRunner.addSnifferPromise(filteredSelectionDialog, "_itemsFilteredForTest").then(accept); |
filteredSelectionDialog.setQuery(query); |
filteredSelectionDialog._updateAfterItemsLoaded(); |
return promise; |