Skip to content

Commit

Permalink
fix: decompress devtools discovery html (#25601)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
  • Loading branch information
trop[bot] and nornagon committed Sep 23, 2020
1 parent 430a6ad commit a99256d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shell/browser/ui/devtools_manager_delegate.cc
Expand Up @@ -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() {
Expand Down

0 comments on commit a99256d

Please sign in to comment.