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 c17bec987eae998334af9c39e8d82fa4d29c02f0..3cc0887690c0bb1630909dfe7818cf96b0bc2991 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 |
@@ -28,7 +28,7 @@ function test() { |
var filteredSelectionDialog = new QuickOpen.FilteredListWidget(delegate, 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; |