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

Unified Diff: ios/web/public/web_client.h

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/public/test/test_web_client.mm ('k') | ios/web/public/web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_client.h
diff --git a/ios/web/public/web_client.h b/ios/web/public/web_client.h
index 4b7104b60b2016db9efedc2d34ede95635610b40..c080924415921fd6d19763d0dca5cfb034c34bd6 100644
--- a/ios/web/public/web_client.h
+++ b/ios/web/public/web_client.h
@@ -15,7 +15,7 @@
#include "url/url_util.h"
namespace base {
-class RefCountedStaticMemory;
+class RefCountedMemory;
}
class GURL;
@@ -101,8 +101,7 @@ class WebClient {
ui::ScaleFactor scale_factor) const;
// Returns the raw bytes of a scale independent data resource.
- virtual base::RefCountedStaticMemory* GetDataResourceBytes(
- int resource_id) const;
+ virtual base::RefCountedMemory* GetDataResourceBytes(int resource_id) const;
// Returns a list of additional WebUI schemes, if any. These additional
// schemes act as aliases to the about: scheme. The additional schemes may or
« no previous file with comments | « ios/web/public/test/test_web_client.mm ('k') | ios/web/public/web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698