ResourceBundle → ui::ResourceBundle

Fixes "error: use of undeclared identifier 'ResourceBundle';
did you mean 'ui::ResourceBundle'?".
This commit is contained in:
Aleksei Kuzmin 2018-04-04 15:08:44 +02:00 committed by Samuel Attard
parent 408b62bcc2
commit 70cc5d87af
2 changed files with 3 additions and 2 deletions

View file

@ -106,7 +106,7 @@ DevToolsManagerDelegate::CreateNewTarget(const GURL& url) {
} }
std::string DevToolsManagerDelegate::GetDiscoveryPageHTML() { std::string DevToolsManagerDelegate::GetDiscoveryPageHTML() {
return ResourceBundle::GetSharedInstance() return ui::ResourceBundle::GetSharedInstance()
.GetRawDataResource(IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE) .GetRawDataResource(IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE)
.as_string(); .as_string();
} }

View file

@ -54,7 +54,8 @@ gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const {
base::RefCountedMemory* ContentClient::GetDataResourceBytes( base::RefCountedMemory* ContentClient::GetDataResourceBytes(
int resource_id) const { int resource_id) const {
return ResourceBundle::GetSharedInstance().LoadDataResourceBytes(resource_id); return ui::ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
resource_id);
} }
} // namespace brightray } // namespace brightray