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

Unified Diff: content/shell/common/shell_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/shell/common/shell_content_client.h
diff --git a/content/shell/common/shell_content_client.h b/content/shell/common/shell_content_client.h
index 2b1e7b65b1061c462792c25873417f295b800d11..1b80e0f799e31c89a17aecd657d0216cb0dcbb34 100644
--- a/content/shell/common/shell_content_client.h
+++ b/content/shell/common/shell_content_client.h
@@ -25,7 +25,7 @@ class ShellContentClient : public ContentClient {
base::StringPiece GetDataResource(
int resource_id,
ui::ScaleFactor scale_factor) const override;
- base::RefCountedStaticMemory* GetDataResourceBytes(
+ base::RefCountedMemory* GetDataResourceBytes(
int resource_id) const override;
gfx::Image& GetNativeImageNamed(int resource_id) const override;
bool IsSupplementarySiteIsolationModeEnabled() override;

Powered by Google App Engine
This is Rietveld 408576698