diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-03 03:51:06 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-03 03:51:06 +0000 |
commit | 7146860795fd1bb85d9804968a5c9532e0e12cee (patch) | |
tree | b9c301962e3deb950c5b838db506d90214a64a9c /chrome/browser/jumplist.cc | |
parent | 2b355d51c50da36be515080cca77970bb3125efd (diff) | |
download | chromium_src-7146860795fd1bb85d9804968a5c9532e0e12cee.zip chromium_src-7146860795fd1bb85d9804968a5c9532e0e12cee.tar.gz chromium_src-7146860795fd1bb85d9804968a5c9532e0e12cee.tar.bz2 |
Fix a build error in the jumplist to use the new png codec location.
TEST=none
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jumplist.cc')
-rw-r--r-- | chrome/browser/jumplist.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/jumplist.cc b/chrome/browser/jumplist.cc index bcfcaa9..69c2a9c 100644 --- a/chrome/browser/jumplist.cc +++ b/chrome/browser/jumplist.cc @@ -12,11 +12,11 @@ #include <string> #include <vector> +#include "app/gfx/codec/png_codec.h" #include "app/gfx/icon_util.h" #include "app/l10n_util.h" #include "base/command_line.h" #include "base/file_util.h" -#include "base/gfx/png_decoder.h" #include "base/path_service.h" #include "base/scoped_comptr_win.h" #include "base/string_util.h" @@ -496,7 +496,7 @@ void JumpListUpdateTask::Run() { item != most_visited_pages_.end(); ++item) { SkBitmap icon_bitmap; if ((*item)->data().get() && - PNGDecoder::Decode(&(*item)->data()->data, &icon_bitmap)) { + gfx::PNGCodec::Decode(&(*item)->data()->data, &icon_bitmap)) { std::wstring icon_path; if (CreateIconFile(icon_bitmap, icon_dir_, &icon_path)) (*item)->SetIcon(icon_path, 0, true); @@ -509,7 +509,7 @@ void JumpListUpdateTask::Run() { item != recently_closed_pages_.end(); ++item) { SkBitmap icon_bitmap; if ((*item)->data().get() && - PNGDecoder::Decode(&(*item)->data()->data, &icon_bitmap)) { + gfx::PNGCodec::Decode(&(*item)->data()->data, &icon_bitmap)) { std::wstring icon_path; if (CreateIconFile(icon_bitmap, icon_dir_, &icon_path)) (*item)->SetIcon(icon_path, 0, true); |