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

Unified Diff: chrome/browser/importer/importer.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/importer/importer.cc
===================================================================
--- chrome/browser/importer/importer.cc (revision 27832)
+++ chrome/browser/importer/importer.cc (working copy)
@@ -8,9 +8,9 @@
#include <set>
#include "app/gfx/favicon_size.h"
+#include "app/gfx/codec/png_codec.h"
#include "app/l10n_util.h"
#include "base/file_util.h"
-#include "base/gfx/png_encoder.h"
#include "base/message_loop.h"
#include "base/string_util.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -425,7 +425,7 @@
}
// Encode our bitmap as a PNG.
- PNGEncoder::EncodeBGRASkBitmap(decoded, false, png_data);
+ gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698