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 e7134fab5ec1ed8bcccfc8c257d2ffd8c690fc4c..290e30cb26537965816df6f6a916c5898e122dd8 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(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; |