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

Unified Diff: ios/web/webui/web_ui_ios_data_source_impl.mm

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 | « ios/web/webui/crw_web_ui_manager.mm ('k') | ui/base/resource/resource_bundle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/web_ui_ios_data_source_impl.mm
diff --git a/ios/web/webui/web_ui_ios_data_source_impl.mm b/ios/web/webui/web_ui_ios_data_source_impl.mm
index c1a787562b2a1e7b1e67d9d2e269e5c7e483d18d..1f44034b5301af8eab61de140079a9fc4ea4132d 100644
--- a/ios/web/webui/web_ui_ios_data_source_impl.mm
+++ b/ios/web/webui/web_ui_ios_data_source_impl.mm
@@ -154,7 +154,7 @@ void WebUIIOSDataSourceImpl::SendLocalizedStringsAsJSON(
void WebUIIOSDataSourceImpl::SendFromResourceBundle(
const URLDataSourceIOS::GotDataCallback& callback,
int idr) {
- scoped_refptr<base::RefCountedStaticMemory> response(
+ scoped_refptr<base::RefCountedMemory> response(
GetWebClient()->GetDataResourceBytes(idr));
callback.Run(response);
}
« no previous file with comments | « ios/web/webui/crw_web_ui_manager.mm ('k') | ui/base/resource/resource_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698