From 7146860795fd1bb85d9804968a5c9532e0e12cee Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 3 Oct 2009 03:51:06 +0000 Subject: 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 --- chrome/browser/jumplist.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/jumplist.cc') 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 #include +#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); -- cgit v1.1