summaryrefslogtreecommitdiffstats
path: root/chrome/browser/favicon
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 16:56:12 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 16:56:12 +0000
commit996ae9b36dde904605c55bbb0cad8360f7a59ac6 (patch)
treeab9dd718ba9c440830240353c9e3e9286aa03aca /chrome/browser/favicon
parentac9779c4301001bd05b63f15acf48f6eed0dd3be (diff)
downloadchromium_src-996ae9b36dde904605c55bbb0cad8360f7a59ac6.zip
chromium_src-996ae9b36dde904605c55bbb0cad8360f7a59ac6.tar.gz
chromium_src-996ae9b36dde904605c55bbb0cad8360f7a59ac6.tar.bz2
Add code to calculate the dominant color for a favicon.
Currently we calculate the dominant/representative color only for those favicons we need it for (i.e. the ones shown on the NTP). We don't do any caching either in memory or in the favicon db but that can be tacked on later if deemed suitable. Code in color_analysis.* authored by dtrainor BUG=none TEST=none Review URL: http://codereview.chromium.org/7099001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/favicon')
-rw-r--r--chrome/browser/favicon/favicon_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/favicon/favicon_handler.h b/chrome/browser/favicon/favicon_handler.h
index 8cc26be..e47ace3 100644
--- a/chrome/browser/favicon/favicon_handler.h
+++ b/chrome/browser/favicon/favicon_handler.h
@@ -64,7 +64,7 @@ class TabContents;
// db knew about the favicon), or requests the renderer to download the
// favicon.
//
-// When the renderer downloads the favicon SetFaviconImageData is invoked,
+// When the renderer downloads the favicon SetFavicon is invoked,
// at which point we update the favicon of the NavigationEntry and notify
// the database to save the favicon.