summaryrefslogtreecommitdiffstats
path: root/chrome/browser/themes/browser_theme_pack.cc
diff options
context:
space:
mode:
authorsimon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-20 09:51:31 +0000
committersimon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-20 09:51:31 +0000
commitebbccb958d7979daaaac0230e6d4e785829be173 (patch)
treee95d888f26a8a649c773fc16bbbc8d5e0adf0463 /chrome/browser/themes/browser_theme_pack.cc
parentc149b9198168ca08da0a30d4fb63f0eb232d6001 (diff)
downloadchromium_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.cc5
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);
}
}
}