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

Unified Diff: chrome/browser/bookmarks/bookmark_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/bookmarks/bookmark_model.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_model.cc (revision 27832)
+++ chrome/browser/bookmarks/bookmark_model.cc (working copy)
@@ -1,11 +1,11 @@
-// 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/bookmarks/bookmark_model.h"
+#include "app/gfx/codec/png_codec.h"
#include "app/l10n_util.h"
-#include "base/gfx/png_decoder.h"
#include "base/scoped_vector.h"
#include "build/build_config.h"
#include "chrome/browser/bookmarks/bookmark_index.h"
@@ -644,7 +644,7 @@
DCHECK(node);
node->set_favicon_load_handle(0);
if (know_favicon && data.get() &&
- PNGDecoder::Decode(&data->data, &fav_icon)) {
+ gfx::PNGCodec::Decode(&data->data, &fav_icon)) {
node->set_favicon(fav_icon);
FavIconLoaded(node);
}

Powered by Google App Engine
This is Rietveld 408576698