From 70cc5d87af335f367ff29571365bc6476ba699c7 Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Wed, 4 Apr 2018 15:08:44 +0200 Subject: [PATCH] =?UTF-8?q?ResourceBundle=20=E2=86=92=20ui::ResourceBundle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes "error: use of undeclared identifier 'ResourceBundle'; did you mean 'ui::ResourceBundle'?". --- brightray/browser/devtools_manager_delegate.cc | 2 +- brightray/common/content_client.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/brightray/browser/devtools_manager_delegate.cc b/brightray/browser/devtools_manager_delegate.cc index e07053462065..cf3566e543f4 100644 --- a/brightray/browser/devtools_manager_delegate.cc +++ b/brightray/browser/devtools_manager_delegate.cc @@ -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(); } diff --git a/brightray/common/content_client.cc b/brightray/common/content_client.cc index df902e1f758f..2a8331c53cec 100644 --- a/brightray/common/content_client.cc +++ b/brightray/common/content_client.cc @@ -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