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

Unified Diff: chrome/browser/possible_url_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/possible_url_model.cc
===================================================================
--- chrome/browser/possible_url_model.cc (revision 27832)
+++ chrome/browser/possible_url_model.cc (working copy)
@@ -4,10 +4,10 @@
#include "chrome/browser/possible_url_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/cancelable_request.h"
#include "chrome/browser/favicon_service.h"
#include "chrome/browser/profile.h"
@@ -176,7 +176,7 @@
size_t index = consumer_.GetClientData(favicon_service, h);
if (fav_icon_available) {
// The decoder will leave our bitmap empty on error.
- PNGDecoder::Decode(&data->data, &(fav_icon_map_[index]));
+ gfx::PNGCodec::Decode(&data->data, &(fav_icon_map_[index]));
// Notify the observer.
if (!fav_icon_map_[index].isNull() && observer_)

Powered by Google App Engine
This is Rietveld 408576698