Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6758)

Unified Diff: chromecast/common/cast_content_client.cc

Issue 1996723002: Switch ResourceBundle LoadDataResourceBytes to return RefCountedMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to address newly added use Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/common/cast_content_client.h ('k') | content/browser/webui/web_ui_data_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/cast_content_client.cc
diff --git a/chromecast/common/cast_content_client.cc b/chromecast/common/cast_content_client.cc
index 302be4ec25e2f1ece532c53199e8ca72f84bf262..f9c98ea51d39924a2dc7bb139b3efbed9f61ecac 100644
--- a/chromecast/common/cast_content_client.cc
+++ b/chromecast/common/cast_content_client.cc
@@ -101,7 +101,7 @@ base::StringPiece CastContentClient::GetDataResource(
resource_id, scale_factor);
}
-base::RefCountedStaticMemory* CastContentClient::GetDataResourceBytes(
+base::RefCountedMemory* CastContentClient::GetDataResourceBytes(
int resource_id) const {
return ui::ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
resource_id);
« no previous file with comments | « chromecast/common/cast_content_client.h ('k') | content/browser/webui/web_ui_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698