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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.cc

Issue 10543080: Fix gcc 4.7 building problems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/browser/extensions/settings/settings_frontend.cc ('k') | media/base/simd/convert_rgb_to_yuv_sse2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_gtk.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_gtk.cc (revision 141258)
+++ content/browser/renderer_host/render_widget_host_view_gtk.cc (working copy)
@@ -82,10 +82,10 @@
if (!moz_spinning_cursor) {
const GdkColor fg = { 0, 0, 0, 0 };
const GdkColor bg = { 65535, 65535, 65535, 65535 };
- GdkPixmap* source =
- gdk_bitmap_create_from_data(NULL, moz_spinning_bits, 32, 32);
- GdkPixmap* mask =
- gdk_bitmap_create_from_data(NULL, moz_spinning_mask_bits, 32, 32);
+ GdkPixmap* source = gdk_bitmap_create_from_data(
+ NULL, reinterpret_cast<const gchar*>(moz_spinning_bits), 32, 32);
+ GdkPixmap* mask = gdk_bitmap_create_from_data(
+ NULL, reinterpret_cast<const gchar*>(moz_spinning_mask_bits), 32, 32);
moz_spinning_cursor =
gdk_cursor_new_from_pixmap(source, mask, &fg, &bg, 2, 2);
g_object_unref(source);
« no previous file with comments | « chrome/browser/extensions/settings/settings_frontend.cc ('k') | media/base/simd/convert_rgb_to_yuv_sse2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698