summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_content_client_ios.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/chrome_content_client_ios.mm')
-rw-r--r--chrome/common/chrome_content_client_ios.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_content_client_ios.mm b/chrome/common/chrome_content_client_ios.mm
index c8b086e..963c1ad 100644
--- a/chrome/common/chrome_content_client_ios.mm
+++ b/chrome/common/chrome_content_client_ios.mm
@@ -75,6 +75,11 @@ base::StringPiece ChromeContentClient::GetDataResource(
resource_id, scale_factor);
}
+base::RefCountedStaticMemory* ChromeContentClient::GetDataResourceBytes(
+ int resource_id) const {
+ return ResourceBundle::GetSharedInstance().LoadDataResourceBytes(resource_id);
+}
+
gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const {
return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id);
}