summaryrefslogtreecommitdiffstats
path: root/app/resource_bundle_linux.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 23:25:17 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 23:25:17 +0000
commitc17d8d4f525271e66d298e05c494065460a1e468 (patch)
tree86caa618aba3c3f9561d557fe1c6f27eeffb34e7 /app/resource_bundle_linux.cc
parentfd2bf4fc5ac9b57394317435b57f33c0fa044ebe (diff)
downloadchromium_src-c17d8d4f525271e66d298e05c494065460a1e468.zip
chromium_src-c17d8d4f525271e66d298e05c494065460a1e468.tar.gz
chromium_src-c17d8d4f525271e66d298e05c494065460a1e468.tar.bz2
Remove ResourceBundle::LoadImageResourceBytes since it appears to
be identical to LoadDataResourceBytes. Migrate callers to LoadDataResourceBytes. Review URL: http://codereview.chromium.org/437019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resource_bundle_linux.cc')
-rw-r--r--app/resource_bundle_linux.cc2
1 files changed, 1 insertions, 1 deletions
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.