0

webui: fix resource id reference in README

This updates the README.md to make WebUIController serve the container
html intead of the hello_world.html.

Change-Id: I3b1ddc3ae034386323243e58544b5ca0f6a3521b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3249810
Reviewed-by: dpapad <dpapad@chromium.org>
Commit-Queue: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935951}
This commit is contained in:
Phillis Tang
2021-10-28 17:12:35 +00:00
committed by Chromium LUCI CQ
parent 98d8535f02
commit 3b711adfca

@ -248,7 +248,7 @@ HelloWorldUI::HelloWorldUI(content::WebUI* web_ui)
html_source->UseStringsJs();
// Add required resources.
webui::SetupWebUIDataSource(html_source, base::make_span(kHelloWorldResources, kHelloWorldResourcesSize), IDR_HELLO_WORLD_HELLO_WORLD_HTML);
webui::SetupWebUIDataSource(html_source, base::make_span(kHelloWorldResources, kHelloWorldResourcesSize), IDR_HELLO_WORLD_HELLO_WORLD_CONTAINER_HTML);
content::BrowserContext* browser_context =
web_ui->GetWebContents()->GetBrowserContext();