diff options
author | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 16:18:35 +0000 |
---|---|---|
committer | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 16:18:35 +0000 |
commit | 90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3 (patch) | |
tree | 235a9415585abee3dc1a3767c898f55ccdeb7007 /chrome/browser/icon_loader_chromeos.cc | |
parent | 386ef8cfc747ea354f9b9d38a2603e099afc3892 (diff) | |
download | chromium_src-90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3.zip chromium_src-90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3.tar.gz chromium_src-90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3.tar.bz2 |
Move RefCountedStaticMemory to base namespace
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/10165020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/icon_loader_chromeos.cc')
-rw-r--r-- | chrome/browser/icon_loader_chromeos.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/icon_loader_chromeos.cc b/chrome/browser/icon_loader_chromeos.cc index f0e6978..14692be 100644 --- a/chrome/browser/icon_loader_chromeos.cc +++ b/chrome/browser/icon_loader_chromeos.cc @@ -10,6 +10,7 @@ #include "base/bind.h" #include "base/lazy_instance.h" +#include "base/memory/ref_counted_memory.h" #include "base/message_loop.h" #include "chrome/browser/icon_loader.h" #include "grit/component_extension_resources.h" @@ -195,7 +196,8 @@ void IconLoader::ReadIcon() { LAZY_INSTANCE_INITIALIZER; int idr = icon_mapper.Get().Lookup(group_, icon_size_); ResourceBundle& rb = ResourceBundle::GetSharedInstance(); - scoped_refptr<RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes(idr)); + scoped_refptr<base::RefCountedStaticMemory> bytes( + rb.LoadDataResourceBytes(idr)); DCHECK(bytes.get()); SkBitmap bitmap; if (!gfx::PNGCodec::Decode(bytes->front(), bytes->size(), &bitmap)) |