summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 01:08:24 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 01:08:24 +0000
commit0996997dcdeb39892665ce5ee7ae773ab2e729e3 (patch)
tree42cb5670877914ba66115fcd31ae42e57c9cd686 /app
parent4346168703bc2f3879669e1b969628ed62a266d2 (diff)
downloadchromium_src-0996997dcdeb39892665ce5ee7ae773ab2e729e3.zip
chromium_src-0996997dcdeb39892665ce5ee7ae773ab2e729e3.tar.gz
chromium_src-0996997dcdeb39892665ce5ee7ae773ab2e729e3.tar.bz2
Cleanup: Remove base/gtk_util.h by moving its methods to
gfx/gtk_util.h BUG=none TEST=none Review URL: http://codereview.chromium.org/4150006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r--app/clipboard/clipboard_linux.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/clipboard/clipboard_linux.cc b/app/clipboard/clipboard_linux.cc
index 19fbfc5..4c833fb 100644
--- a/app/clipboard/clipboard_linux.cc
+++ b/app/clipboard/clipboard_linux.cc
@@ -11,10 +11,10 @@
#include <utility>
#include "base/file_path.h"
-#include "base/gtk_util.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/utf_string_conversions.h"
+#include "gfx/gtk_util.h"
#include "gfx/size.h"
namespace {
@@ -187,8 +187,8 @@ void Clipboard::WriteBitmap(const char* pixel_data, const char* size_data) {
const gfx::Size* size = reinterpret_cast<const gfx::Size*>(size_data);
guchar* data =
- gtk_util::BGRAToRGBA(reinterpret_cast<const uint8_t*>(pixel_data),
- size->width(), size->height(), 0);
+ gfx::BGRAToRGBA(reinterpret_cast<const uint8_t*>(pixel_data),
+ size->width(), size->height(), 0);
GdkPixbuf* pixbuf =
gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, TRUE,