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

Unified Diff: content/public/common/content_client.h

Issue 1996723002: Switch ResourceBundle LoadDataResourceBytes to return RefCountedMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing iOS trybots 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
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index dace907b95e7ae205d4c2cbae66da1721f5f672a..3c0b6425df0621f96425b6bb01435942b1eae76b 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -19,7 +19,7 @@
class GURL;
namespace base {
-class RefCountedStaticMemory;
+class RefCountedMemory;
}
namespace IPC {
@@ -123,7 +123,7 @@ class CONTENT_EXPORT ContentClient {
ui::ScaleFactor scale_factor) const;
// Returns the raw bytes of a scale independent data resource.
- virtual base::RefCountedStaticMemory* GetDataResourceBytes(
+ virtual base::RefCountedMemory* GetDataResourceBytes(
int resource_id) const;
// Returns a native image given its id.

Powered by Google App Engine
This is Rietveld 408576698