Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Unified Diff: ui/gfx/color_analysis.cc

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_analysis.h ('k') | ui/views/widget/default_theme_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ui/gfx/color_analysis.h ('k') | ui/views/widget/default_theme_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698