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

Unified Diff: chrome/common/gtk_util.cc

Issue 87016: Eliminate a circular dependency by making BGRAToRGBA() generic... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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
« no previous file with comments | « base/linux_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gtk_util.cc
===================================================================
--- chrome/common/gtk_util.cc (revision 14068)
+++ chrome/common/gtk_util.cc (working copy)
@@ -6,7 +6,7 @@
#include <gtk/gtk.h>
-#include "base/gfx/gtk_util.h"
+#include "base/linux_util.h"
#include "skia/include/SkBitmap.h"
namespace {
@@ -45,7 +45,7 @@
int height = bitmap->height();
int stride = bitmap->rowBytes();
const guchar* orig_data = static_cast<guchar*>(bitmap->getPixels());
- guchar* data = BGRAToRGBA(orig_data, width, height, stride);
+ guchar* data = base::BGRAToRGBA(orig_data, width, height, stride);
// This pixbuf takes ownership of our malloc()ed data and will
// free it for us when it is destroyed.
« no previous file with comments | « base/linux_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698