ResourceBundle → ui::ResourceBundle
Fixes "error: use of undeclared identifier 'ResourceBundle'; did you mean 'ui::ResourceBundle'?".
This commit is contained in:
parent
408b62bcc2
commit
70cc5d87af
2 changed files with 3 additions and 2 deletions
|
@ -106,7 +106,7 @@ DevToolsManagerDelegate::CreateNewTarget(const GURL& url) {
|
|||
}
|
||||
|
||||
std::string DevToolsManagerDelegate::GetDiscoveryPageHTML() {
|
||||
return ResourceBundle::GetSharedInstance()
|
||||
return ui::ResourceBundle::GetSharedInstance()
|
||||
.GetRawDataResource(IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE)
|
||||
.as_string();
|
||||
}
|
||||
|
|
|
@ -54,7 +54,8 @@ gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const {
|
|||
|
||||
base::RefCountedMemory* ContentClient::GetDataResourceBytes(
|
||||
int resource_id) const {
|
||||
return ResourceBundle::GetSharedInstance().LoadDataResourceBytes(resource_id);
|
||||
return ui::ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
|
||||
resource_id);
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
Loading…
Reference in a new issue