Index: ui/gfx/color_analysis.cc |
=================================================================== |
--- ui/gfx/color_analysis.cc (revision 134496) |
+++ ui/gfx/color_analysis.cc (working copy) |
@@ -157,12 +157,12 @@ |
} |
SkColor CalculateRecommendedBgColorForPNG( |
- scoped_refptr<RefCountedMemory> png) { |
+ scoped_refptr<base::RefCountedMemory> png) { |
RandomSampler sampler; |
return CalculateRecommendedBgColorForPNG(png, sampler); |
} |
-SkColor CalculateKMeanColorOfPNG(scoped_refptr<RefCountedMemory> png, |
+SkColor CalculateKMeanColorOfPNG(scoped_refptr<base::RefCountedMemory> png, |
uint32_t darkness_limit, |
uint32_t brightness_limit) { |
RandomSampler sampler; |
@@ -171,7 +171,7 @@ |
} |
SkColor CalculateRecommendedBgColorForPNG( |
- scoped_refptr<RefCountedMemory> png, |
+ scoped_refptr<base::RefCountedMemory> png, |
KMeanImageSampler& sampler) { |
return CalculateKMeanColorOfPNG(png, |
kMinDarkness, |
@@ -179,7 +179,7 @@ |
sampler); |
} |
-SkColor CalculateKMeanColorOfPNG(scoped_refptr<RefCountedMemory> png, |
+SkColor CalculateKMeanColorOfPNG(scoped_refptr<base::RefCountedMemory> png, |
uint32_t darkness_limit, |
uint32_t brightness_limit, |
KMeanImageSampler& sampler) { |