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 /ui/gfx | |
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 'ui/gfx')
-rw-r--r-- | ui/gfx/color_analysis_unittest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/gfx/color_analysis_unittest.cc b/ui/gfx/color_analysis_unittest.cc index 7ff927d..a723520 100644 --- a/ui/gfx/color_analysis_unittest.cc +++ b/ui/gfx/color_analysis_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -134,8 +134,8 @@ TEST_F(ColorAnalysisTest, CalculatePNGKMeanAllWhite) { MockKMeanImageSampler test_sampler; test_sampler.AddSample(0); - scoped_refptr<RefCountedBytes> png( - new RefCountedBytes( + scoped_refptr<base::RefCountedBytes> png( + new base::RefCountedBytes( std::vector<unsigned char>( k1x1White, k1x1White + sizeof(k1x1White) / sizeof(unsigned char)))); @@ -151,8 +151,8 @@ TEST_F(ColorAnalysisTest, CalculatePNGKMeanIgnoreWhite) { test_sampler.AddSample(1); test_sampler.AddSample(2); - scoped_refptr<RefCountedBytes> png( - new RefCountedBytes( + scoped_refptr<base::RefCountedBytes> png( + new base::RefCountedBytes( std::vector<unsigned char>( k1x3BlueWhite, k1x3BlueWhite + sizeof(k1x3BlueWhite) / sizeof(unsigned char)))); @@ -168,8 +168,8 @@ TEST_F(ColorAnalysisTest, CalculatePNGKMeanPickMostCommon) { test_sampler.AddSample(1); test_sampler.AddSample(2); - scoped_refptr<RefCountedBytes> png( - new RefCountedBytes( + scoped_refptr<base::RefCountedBytes> png( + new base::RefCountedBytes( std::vector<unsigned char>( k1x3BlueRed, k1x3BlueRed + sizeof(k1x3BlueRed) / sizeof(unsigned char)))); |