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

Unified Diff: chrome/browser/sync/glue/change_processor.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/sync/glue/change_processor.cc
===================================================================
--- chrome/browser/sync/glue/change_processor.cc (revision 27832)
+++ chrome/browser/sync/glue/change_processor.cc (working copy)
@@ -6,7 +6,7 @@
#include "chrome/browser/sync/glue/change_processor.h"
-#include "base/gfx/png_encoder.h"
+#include "app/gfx/codec/png_codec.h"
#include "base/string_util.h"
#include "chrome/browser/bookmarks/bookmark_utils.h"
#include "chrome/browser/favicon_service.h"
@@ -65,7 +65,7 @@
// Re-encode the BookmarkNode's favicon as a PNG, and pass the data to the
// sync subsystem.
- if (!PNGEncoder::EncodeBGRASkBitmap(favicon, false, dst))
+ if (!gfx::PNGCodec::EncodeBGRASkBitmap(favicon, false, dst))
return;
}

Powered by Google App Engine
This is Rietveld 408576698