Fix decoding of the DevTools remote debugging discovery page (fixes issue #2974)
This commit is contained in:
parent
b3a8da9b25
commit
0dfefe391c
|
@ -132,9 +132,8 @@ CefDevToolsManagerDelegate::CreateNewTarget(const GURL& url) {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CefDevToolsManagerDelegate::GetDiscoveryPageHTML() {
|
std::string CefDevToolsManagerDelegate::GetDiscoveryPageHTML() {
|
||||||
return ui::ResourceBundle::GetSharedInstance()
|
return ui::ResourceBundle::GetSharedInstance().LoadDataResourceString(
|
||||||
.GetRawDataResource(IDR_CEF_DEVTOOLS_DISCOVERY_PAGE)
|
IDR_CEF_DEVTOOLS_DISCOVERY_PAGE);
|
||||||
.as_string();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CefDevToolsManagerDelegate::HasBundledFrontendResources() {
|
bool CefDevToolsManagerDelegate::HasBundledFrontendResources() {
|
||||||
|
|
Loading…
Reference in New Issue