Changeset 101190 in webkit
- Timestamp:
- Nov 26, 2011, 2:16:36 AM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
platform/gtk/CursorGtk.cpp (modified) (1 diff)
-
platform/gtk/RenderThemeGtk3.cpp (modified) (1 diff)
-
platform/gtk/SharedTimerGtk.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r101185 r101190 1 2011-11-26 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] Fix some warnings in WebCore GTK+ 4 https://bugs.webkit.org/show_bug.cgi?id=73137 5 6 Reviewed by Philippe Normand. 7 8 No new tests. This patch just fixes compilation warnings. 9 10 * platform/gtk/CursorGtk.cpp: 11 (WebCore::createNamedCursor): Remove unused variable. 12 * platform/gtk/RenderThemeGtk3.cpp: 13 (WebCore::RenderThemeGtk::paintSliderTrack): ASSERT_UNUSED instead of ASSERT. 14 * platform/gtk/SharedTimerGtk.cpp: Ditto. 15 (WebCore::stopSharedTimer): 16 1 17 2011-11-25 Eric Carlson <eric.carlson@apple.com> 2 18 -
trunk/Source/WebCore/platform/gtk/CursorGtk.cpp
r90788 r101190 47 47 return c; 48 48 49 IntSize cursorSize = IntSize(32, 32);50 49 RefPtr<cairo_surface_t> source = adoptRef(cairo_image_surface_create_for_data(const_cast<unsigned char*>(cursor.bits), CAIRO_FORMAT_A1, 32, 32, 4)); 51 50 RefPtr<cairo_surface_t> mask = adoptRef(cairo_image_surface_create_for_data(const_cast<unsigned char*>(cursor.mask_bits), CAIRO_FORMAT_A1, 32, 32, 4)); -
trunk/Source/WebCore/platform/gtk/RenderThemeGtk3.cpp
r95901 r101190 597 597 { 598 598 ControlPart part = renderObject->style()->appearance(); 599 ASSERT (part == SliderHorizontalPart || part == SliderVerticalPart || part == MediaVolumeSliderPart);599 ASSERT_UNUSED(part, part == SliderHorizontalPart || part == SliderVerticalPart || part == MediaVolumeSliderPart); 600 600 601 601 GtkStyleContext* context = getStyleContext(GTK_TYPE_SCALE); -
trunk/Source/WebCore/platform/gtk/SharedTimerGtk.cpp
r91206 r101190 63 63 void stopSharedTimer() 64 64 { 65 gboolean s = FALSE;66 65 if (sharedTimer == 0) 67 66 return; 68 67 69 s= g_source_remove(sharedTimer);70 ASSERT (s);68 gboolean removedSource = g_source_remove(sharedTimer); 69 ASSERT_UNUSED(removedSource, removedSource); 71 70 sharedTimer = 0; 72 71 }
Note:
See TracChangeset
for help on using the changeset viewer.