| commit | 0e82675707acbcafd5cba04efdbe04efabfd5cfd | [log] [tgz] |
|---|---|---|
| author | Kyle Milka <kmilka@chromium.org> | Thu Jan 31 00:37:38 2019 |
| committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 31 00:37:38 2019 |
| tree | 615c446f64fcc9058cfd1e0ef2fbc817e7af5bfb | |
| parent | 6bd6eec28162d0d097e6bd5111ed2c358a4200a3 [diff] |
[NTP] Fix console error if no suggestions are available If no suggestions are available run the callback with a string setting search_suggestions.suggestionHtml to an empty string rather than nullptr. This fixes the console error: 'search-suggestions.js:1 Failed to load resource: net::ERR_FAILED'. Bug: 904565 Change-Id: I9671c2e39297bf10802f1d2feacff6fab2e6d06b Reviewed-on: https://chromium-review.googlesource.com/c/1446789 Reviewed-by: Ramya Nagarajan <ramyan@chromium.org> Commit-Queue: Kyle Milka <kmilka@chromium.org> Cr-Commit-Position: refs/heads/master@{#627691}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .