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

Unified Diff: chrome/browser/gears_integration.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/gears_integration.cc
===================================================================
--- chrome/browser/gears_integration.cc (revision 27832)
+++ chrome/browser/gears_integration.cc (working copy)
@@ -1,10 +1,10 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/gears_integration.h"
-#include "base/gfx/png_encoder.h"
+#include "app/gfx/codec/png_codec.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/string_util.h"
@@ -116,7 +116,7 @@
// Get the FavIcon data.
std::vector<unsigned char> icon_data;
- PNGEncoder::EncodeBGRASkBitmap(icon, false, &icon_data);
+ gfx::PNGCodec::EncodeBGRASkBitmap(icon, false, &icon_data);
// Base64-encode it (to make it a data URL).
std::string icon_data_str(reinterpret_cast<char*>(&icon_data[0]),

Powered by Google App Engine
This is Rietveld 408576698