summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/resource_bundle.cc5
-rw-r--r--app/resource_bundle.h5
-rw-r--r--app/resource_bundle_linux.cc2
3 files changed, 1 insertions, 11 deletions
diff --git a/app/resource_bundle.cc b/app/resource_bundle.cc
index 4cbd35e..2b60c78 100644
--- a/app/resource_bundle.cc
+++ b/app/resource_bundle.cc
@@ -86,11 +86,6 @@ std::string ResourceBundle::GetDataResource(int resource_id) {
return GetRawDataResource(resource_id).as_string();
}
-RefCountedStaticMemory* ResourceBundle::LoadImageResourceBytes(
- int resource_id) {
- return LoadResourceBytes(resources_data_, resource_id);
-}
-
RefCountedStaticMemory* ResourceBundle::LoadDataResourceBytes(
int resource_id) {
return LoadResourceBytes(resources_data_, resource_id);
diff --git a/app/resource_bundle.h b/app/resource_bundle.h
index e4819c3..e608ccd 100644
--- a/app/resource_bundle.h
+++ b/app/resource_bundle.h
@@ -84,11 +84,6 @@ class ResourceBundle {
// is missing.
SkBitmap* GetBitmapNamed(int resource_id);
- // Loads the raw bytes of an image resource into |bytes|,
- // without doing any processing or interpretation of
- // the resource. Returns whether we successfully read the resource.
- RefCountedStaticMemory* LoadImageResourceBytes(int resource_id);
-
// Loads the raw bytes of a data resource into |bytes|,
// without doing any processing or interpretation of
// the resource. Returns whether we successfully read the resource.
diff --git a/app/resource_bundle_linux.cc b/app/resource_bundle_linux.cc
index 99ac0d7..ca23792 100644
--- a/app/resource_bundle_linux.cc
+++ b/app/resource_bundle_linux.cc
@@ -162,7 +162,7 @@ GdkPixbuf* ResourceBundle::GetPixbufImpl(int resource_id, bool rtl_enabled) {
}
scoped_refptr<RefCountedStaticMemory> data(
- LoadImageResourceBytes(resource_id));
+ LoadDataResourceBytes(resource_id));
GdkPixbuf* pixbuf = LoadPixbuf(data.get(), rtl_enabled);
// We loaded successfully. Cache the pixbuf.