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

Unified Diff: chrome/browser/search_engines/template_url_table_model.cc

Issue 243076: Move the JPEG and PNG codecs from base/gfx to app/gfx/codec. Move the classes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: chrome/browser/search_engines/template_url_table_model.cc
===================================================================
--- chrome/browser/search_engines/template_url_table_model.cc (revision 27832)
+++ chrome/browser/search_engines/template_url_table_model.cc (working copy)
@@ -4,10 +4,10 @@
#include "chrome/browser/search_engines/template_url_table_model.h"
+#include "app/gfx/codec/png_codec.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "app/table_model_observer.h"
-#include "base/gfx/png_decoder.h"
#include "chrome/browser/favicon_service.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/search_engines/template_url.h"
@@ -100,7 +100,7 @@
GURL icon_url) {
load_state_ = LOADED;
if (know_favicon && data.get() &&
- PNGDecoder::Decode(&data->data, &fav_icon_)) {
+ gfx::PNGCodec::Decode(&data->data, &fav_icon_)) {
model_->FavIconAvailable(this);
}
}

Powered by Google App Engine
This is Rietveld 408576698