fix: decompress devtools discovery html (#25576)
This commit is contained in:
parent
3503d3745b
commit
881ac995da
1 changed files with 2 additions and 3 deletions
|
@ -129,9 +129,8 @@ DevToolsManagerDelegate::CreateNewTarget(const GURL& url) {
|
|||
}
|
||||
|
||||
std::string DevToolsManagerDelegate::GetDiscoveryPageHTML() {
|
||||
return ui::ResourceBundle::GetSharedInstance()
|
||||
.GetRawDataResource(IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE)
|
||||
.as_string();
|
||||
return ui::ResourceBundle::GetSharedInstance().LoadDataResourceString(
|
||||
IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE);
|
||||
}
|
||||
|
||||
bool DevToolsManagerDelegate::HasBundledFrontendResources() {
|
||||
|
|
Loading…
Reference in a new issue