| Index: third_party/WebKit/Source/devtools/front_end/source_frame/TextEditorAutocompleteController.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/TextEditorAutocompleteController.js b/third_party/WebKit/Source/devtools/front_end/source_frame/TextEditorAutocompleteController.js
|
| index fc755380a398e468462f08f26742386226b22807..3c96b052fb4d9756f8a10f733f6a0a6839e902d9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/TextEditorAutocompleteController.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/source_frame/TextEditorAutocompleteController.js
|
| @@ -138,7 +138,7 @@ WebInspector.TextEditorAutocompleteController.prototype = {
|
| this._prefixRange = prefixRange;
|
| if (!oldPrefixRange || prefixRange.startLine !== oldPrefixRange.startLine || prefixRange.startColumn !== oldPrefixRange.startColumn)
|
| this._updateAnchorBox();
|
| - this._suggestBox.updateSuggestions(this._anchorBox, wordsWithPrefix, 0, true, this._textEditor.copyRange(prefixRange));
|
| + this._suggestBox.updateSuggestions(this._anchorBox, wordsWithPrefix.map(item => ({title: item})), 0, true, this._textEditor.copyRange(prefixRange));
|
| if (!this._suggestBox.visible())
|
| this.finishAutocomplete();
|
| this._onSuggestionsShownForTest(wordsWithPrefix);
|
|
|