diff options
author | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-20 09:51:31 +0000 |
---|---|---|
committer | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-20 09:51:31 +0000 |
commit | ebbccb958d7979daaaac0230e6d4e785829be173 (patch) | |
tree | e95d888f26a8a649c773fc16bbbc8d5e0adf0463 /chrome/browser/themes/browser_theme_pack.cc | |
parent | c149b9198168ca08da0a30d4fb63f0eb232d6001 (diff) | |
download | chromium_src-ebbccb958d7979daaaac0230e6d4e785829be173.zip chromium_src-ebbccb958d7979daaaac0230e6d4e785829be173.tar.gz chromium_src-ebbccb958d7979daaaac0230e6d4e785829be173.tar.bz2 |
Move RefCountedBytes Class to base namespace.
BUG=none
TEST=compiles and tests pass on trybots
Review URL: http://codereview.chromium.org/10083022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/themes/browser_theme_pack.cc')
-rw-r--r-- | chrome/browser/themes/browser_theme_pack.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc index 448e566..85b55a3 100644 --- a/chrome/browser/themes/browser_theme_pack.cc +++ b/chrome/browser/themes/browser_theme_pack.cc @@ -297,7 +297,7 @@ RefCountedMemory* ReadFileData(const FilePath& path) { raw_data.resize(size); char* data = reinterpret_cast<char*>(&(raw_data.front())); if (file.ReadUntilComplete(data, size) == avail) - return RefCountedBytes::TakeVector(&raw_data); + return base::RefCountedBytes::TakeVector(&raw_data); } } } @@ -1028,7 +1028,8 @@ void BrowserThemePack::RepackImages(const ImageCache& images, NOTREACHED() << "Image file for resource " << it->first << " could not be encoded."; } else { - (*reencoded_images)[it->first] = RefCountedBytes::TakeVector(&image_data); + (*reencoded_images)[it->first] = + base::RefCountedBytes::TakeVector(&image_data); } } } |