[WebUI][NTP] Renames module chrome.mojom to search.mojom in common/search
Otherwise the generated mojom-lite.js files will contain definitions such as chrome.mojom.AutocompleteMatchSpec = {...} which won't closure compile since |chrome| is defined as a constant namespace in third_party/closure_compiler/externs/chrome.js: /** * namespace * @const */ var chrome = {}; Bug: 1041129 Change-Id: I4c5664f796e029738ec37f519a9345c69f69f12e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2167427Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#763528}
Showing
Please register or sign in to comment