Changeset 128570 in webkit


Ignore:
Timestamp:
Sep 14, 2012 1:42:44 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Fix unused parameter compile warnings in WebCore.
https://bugs.webkit.org/show_bug.cgi?id=96712

Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-14
Reviewed by Ryosuke Niwa.

Fixed unused parameter compile warning messages(-Wunused-parameter) during EFL build.
There are two kinds of stuff related to this warnings.
First one is that the parameter value has not been used anywhere inside the function.
Other one is that usability of parameter value is depended on option, i.e. ACCESSIBILITY.

  • accessibility/AXObjectCache.h:

(WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility):
(WebCore::AXObjectCache::postNotification):

  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::setGeolocationOverride):

  • loader/FrameLoaderClient.h:

(WebCore::FrameLoaderClient::registerIntentService):

  • page/Frame.cpp:

(WebCore::Frame::layerTreeAsText):

  • page/FrameView.cpp:

(WebCore::FrameView::setScrollingPerformanceLoggingEnabled):

  • page/efl/EventHandlerEfl.cpp:

(WebCore::EventHandler::tabsToAllFormControls):
(WebCore::EventHandler::passMouseDownEventToWidget):

  • page/scrolling/ScrollingCoordinator.cpp:

(WebCore::scrollLayerForFrameView):

  • platform/RuntimeApplicationChecks.cpp:

(WebCore::mainBundleIsEqualTo):

  • platform/ScrollView.cpp:

(WebCore::ScrollView::platformSetScrollOrigin):

  • platform/cairo/WidgetBackingStoreCairo.cpp:

(WebCore::createSurfaceForBackingStore):

  • platform/efl/ContextMenuEfl.cpp:

(WebCore::platformMenuDescription):

  • platform/efl/ContextMenuItemEfl.cpp:

(WebCore::ContextMenuItem::ContextMenuItem):

  • platform/efl/DragDataEfl.cpp:

(WebCore::DragData::asFilenames):
(WebCore::DragData::containsURL):
(WebCore::DragData::asURL):

  • platform/efl/GamepadsEfl.cpp:

(WebCore::GamepadsEfl::onGamePadChange):

  • platform/efl/LocalizedStringsEfl.cpp:

(WebCore::imageTitle):
(WebCore::localizedMediaControlElementString):
(WebCore::localizedMediaControlElementHelpText):
(WebCore::localizedMediaTimeDescription):

  • platform/efl/PasteboardEfl.cpp:

(WebCore::Pasteboard::writeSelection):
(WebCore::Pasteboard::writeImage):
(WebCore::Pasteboard::documentFragment):

  • platform/efl/PlatformScreenEfl.cpp:

(WebCore::screenRect):

  • platform/efl/RenderThemeEfl.cpp:

(WebCore::RenderThemeEfl::adjustSliderTrackStyle):
(WebCore::RenderThemeEfl::systemFont):
(WebCore::RenderThemeEfl::paintMediaSliderThumb):
(WebCore::RenderThemeEfl::paintMediaVolumeSliderContainer):
(WebCore::RenderThemeEfl::paintMediaVolumeSliderTrack):
(WebCore::RenderThemeEfl::paintMediaVolumeSliderThumb):
(WebCore::RenderThemeEfl::paintMediaCurrentTime):

  • platform/efl/ScrollbarEfl.cpp:

(scrollbarEflEdjeMessage):

  • platform/efl/ScrollbarThemeEfl.cpp:

(WebCore::ScrollbarThemeEfl::scrollbarThickness):
(WebCore::ScrollbarThemeEfl::registerScrollbar):
(WebCore::ScrollbarThemeEfl::unregisterScrollbar):

  • platform/efl/TemporaryLinkStubs.cpp:

(WebCore::signedPublicKeyAndChallengeString):

  • platform/efl/WidgetEfl.cpp:

(WebCore::Widget::setFocus):
(WebCore::Widget::paint):

  • platform/graphics/GraphicsContext.cpp:

(WebCore::GraphicsContext::setPlatformTextDrawingMode):

  • platform/graphics/ImageSource.cpp:

(WebCore::ImageSource::orientationAtIndex):

  • platform/graphics/MediaPlayer.cpp:

(WebCore::MediaPlayer::supportsType):

  • platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:

(WebCore::Font::drawComplexText):

  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::adjustFocusRingLineWidth):
(WebCore::GraphicsContext::drawLineForText):
(WebCore::GraphicsContext::setPlatformFillColor):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::setURLForRect):
(WebCore::GraphicsContext::setPlatformShadow):
(WebCore::GraphicsContext::fillRoundedRect):

  • platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:

(WebCore::GraphicsContextPlatformPrivate::syncContext):

  • platform/graphics/cairo/ImageBufferCairo.cpp:

(WebCore::ImageBufferData::ImageBufferData):

  • platform/graphics/cairo/ImageCairo.cpp:

(WebCore::Image::drawPattern):

  • platform/graphics/efl/IconEfl.cpp:

(WebCore::Icon::createIconForFiles):
(WebCore::Icon::paint):

  • platform/graphics/freetype/FontCacheFreeType.cpp:

(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getTraitsInFamily):

  • platform/graphics/gstreamer/GStreamerGWorld.cpp:

(WebCore::gstGWorldSyncMessageCallback):

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
  • platform/graphics/gstreamer/VideoSinkGStreamer.cpp:

(webkitVideoSinkMarshalVoidAndMiniObject):

  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:

(webKitWebSrcUriHandlerInit):
(webKitWebSrcNeedDataCb):
(webKitWebSrcEnoughDataCb):
(webKitWebSrcSeekDataCb):
(StreamingClient::didReceiveData):

  • platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp:

(WebCore::harfbuzzGetGlyph):
(WebCore::harfbuzzGetGlyphHorizontalAdvance):
(WebCore::harfbuzzGetGlyphHorizontalOrigin):
(WebCore::harfbuzzGetGlyphExtents):
(WebCore::harfbuzzCairoGetTable):

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp:

(WebCore::readColorProfile):
(WebCore::init_source):
(WebCore::fill_input_buffer):

  • platform/image-decoders/png/PNGImageDecoder.cpp:

(WebCore::PNGImageDecoder::rowAvailable):

  • platform/network/soup/CookieStorageSoup.cpp:

(WebCore::setCookieStoragePrivateBrowsingEnabled):

  • platform/network/soup/DNSSoup.cpp:

(WebCore::resolvedCallback):

  • platform/network/soup/ProxyResolverSoup.cpp:

(soup_proxy_resolver_wk_init):
(soupProxyResolverWkGetProxyURIAsync):
(soupProxyResolverWkGetProxyURISync):

  • platform/network/soup/ResourceHandleSoup.cpp:

(WebCore::sendRequestCallback):
(WebCore::addFormElementsToSoupMessage):
(WebCore::requestStartedCallback):
(WebCore::closeCallback):
(WebCore::readCallback):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::adjustRepaintRect):

Location:
trunk/Source/WebCore
Files:
45 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128568 r128570  
     12012-09-14  Kangil Han  <kangil.han@samsung.com>
     2
     3        Fix unused parameter compile warnings in WebCore.
     4        https://bugs.webkit.org/show_bug.cgi?id=96712
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Fixed unused parameter compile warning messages(-Wunused-parameter) during EFL build.
     9        There are two kinds of stuff related to this warnings.
     10        First one is that the parameter value has not been used anywhere inside the function.
     11        Other one is that usability of parameter value is depended on option, i.e. ACCESSIBILITY.
     12
     13        * accessibility/AXObjectCache.h:
     14        (WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility):
     15        (WebCore::AXObjectCache::postNotification):
     16        * inspector/InspectorPageAgent.cpp:
     17        (WebCore::InspectorPageAgent::setGeolocationOverride):
     18        * loader/FrameLoaderClient.h:
     19        (WebCore::FrameLoaderClient::registerIntentService):
     20        * page/Frame.cpp:
     21        (WebCore::Frame::layerTreeAsText):
     22        * page/FrameView.cpp:
     23        (WebCore::FrameView::setScrollingPerformanceLoggingEnabled):
     24        * page/efl/EventHandlerEfl.cpp:
     25        (WebCore::EventHandler::tabsToAllFormControls):
     26        (WebCore::EventHandler::passMouseDownEventToWidget):
     27        * page/scrolling/ScrollingCoordinator.cpp:
     28        (WebCore::scrollLayerForFrameView):
     29        * platform/RuntimeApplicationChecks.cpp:
     30        (WebCore::mainBundleIsEqualTo):
     31        * platform/ScrollView.cpp:
     32        (WebCore::ScrollView::platformSetScrollOrigin):
     33        * platform/cairo/WidgetBackingStoreCairo.cpp:
     34        (WebCore::createSurfaceForBackingStore):
     35        * platform/efl/ContextMenuEfl.cpp:
     36        (WebCore::platformMenuDescription):
     37        * platform/efl/ContextMenuItemEfl.cpp:
     38        (WebCore::ContextMenuItem::ContextMenuItem):
     39        * platform/efl/DragDataEfl.cpp:
     40        (WebCore::DragData::asFilenames):
     41        (WebCore::DragData::containsURL):
     42        (WebCore::DragData::asURL):
     43        * platform/efl/GamepadsEfl.cpp:
     44        (WebCore::GamepadsEfl::onGamePadChange):
     45        * platform/efl/LocalizedStringsEfl.cpp:
     46        (WebCore::imageTitle):
     47        (WebCore::localizedMediaControlElementString):
     48        (WebCore::localizedMediaControlElementHelpText):
     49        (WebCore::localizedMediaTimeDescription):
     50        * platform/efl/PasteboardEfl.cpp:
     51        (WebCore::Pasteboard::writeSelection):
     52        (WebCore::Pasteboard::writeImage):
     53        (WebCore::Pasteboard::documentFragment):
     54        * platform/efl/PlatformScreenEfl.cpp:
     55        (WebCore::screenRect):
     56        * platform/efl/RenderThemeEfl.cpp:
     57        (WebCore::RenderThemeEfl::adjustSliderTrackStyle):
     58        (WebCore::RenderThemeEfl::systemFont):
     59        (WebCore::RenderThemeEfl::paintMediaSliderThumb):
     60        (WebCore::RenderThemeEfl::paintMediaVolumeSliderContainer):
     61        (WebCore::RenderThemeEfl::paintMediaVolumeSliderTrack):
     62        (WebCore::RenderThemeEfl::paintMediaVolumeSliderThumb):
     63        (WebCore::RenderThemeEfl::paintMediaCurrentTime):
     64        * platform/efl/ScrollbarEfl.cpp:
     65        (scrollbarEflEdjeMessage):
     66        * platform/efl/ScrollbarThemeEfl.cpp:
     67        (WebCore::ScrollbarThemeEfl::scrollbarThickness):
     68        (WebCore::ScrollbarThemeEfl::registerScrollbar):
     69        (WebCore::ScrollbarThemeEfl::unregisterScrollbar):
     70        * platform/efl/TemporaryLinkStubs.cpp:
     71        (WebCore::signedPublicKeyAndChallengeString):
     72        * platform/efl/WidgetEfl.cpp:
     73        (WebCore::Widget::setFocus):
     74        (WebCore::Widget::paint):
     75        * platform/graphics/GraphicsContext.cpp:
     76        (WebCore::GraphicsContext::setPlatformTextDrawingMode):
     77        * platform/graphics/ImageSource.cpp:
     78        (WebCore::ImageSource::orientationAtIndex):
     79        * platform/graphics/MediaPlayer.cpp:
     80        (WebCore::MediaPlayer::supportsType):
     81        * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:
     82        (WebCore::Font::drawComplexText):
     83        * platform/graphics/cairo/GraphicsContextCairo.cpp:
     84        (WebCore::adjustFocusRingLineWidth):
     85        (WebCore::GraphicsContext::drawLineForText):
     86        (WebCore::GraphicsContext::setPlatformFillColor):
     87        (WebCore::GraphicsContext::setPlatformStrokeColor):
     88        (WebCore::GraphicsContext::setURLForRect):
     89        (WebCore::GraphicsContext::setPlatformShadow):
     90        (WebCore::GraphicsContext::fillRoundedRect):
     91        * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
     92        (WebCore::GraphicsContextPlatformPrivate::syncContext):
     93        * platform/graphics/cairo/ImageBufferCairo.cpp:
     94        (WebCore::ImageBufferData::ImageBufferData):
     95        * platform/graphics/cairo/ImageCairo.cpp:
     96        (WebCore::Image::drawPattern):
     97        * platform/graphics/efl/IconEfl.cpp:
     98        (WebCore::Icon::createIconForFiles):
     99        (WebCore::Icon::paint):
     100        * platform/graphics/freetype/FontCacheFreeType.cpp:
     101        (WebCore::FontCache::getSimilarFontPlatformData):
     102        (WebCore::FontCache::getTraitsInFamily):
     103        * platform/graphics/gstreamer/GStreamerGWorld.cpp:
     104        (WebCore::gstGWorldSyncMessageCallback):
     105        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     106        * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
     107        (webkitVideoSinkMarshalVoidAndMiniObject):
     108        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
     109        (webKitWebSrcUriHandlerInit):
     110        (webKitWebSrcNeedDataCb):
     111        (webKitWebSrcEnoughDataCb):
     112        (webKitWebSrcSeekDataCb):
     113        (StreamingClient::didReceiveData):
     114        * platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp:
     115        (WebCore::harfbuzzGetGlyph):
     116        (WebCore::harfbuzzGetGlyphHorizontalAdvance):
     117        (WebCore::harfbuzzGetGlyphHorizontalOrigin):
     118        (WebCore::harfbuzzGetGlyphExtents):
     119        (WebCore::harfbuzzCairoGetTable):
     120        * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
     121        (WebCore::readColorProfile):
     122        (WebCore::init_source):
     123        (WebCore::fill_input_buffer):
     124        * platform/image-decoders/png/PNGImageDecoder.cpp:
     125        (WebCore::PNGImageDecoder::rowAvailable):
     126        * platform/network/soup/CookieStorageSoup.cpp:
     127        (WebCore::setCookieStoragePrivateBrowsingEnabled):
     128        * platform/network/soup/DNSSoup.cpp:
     129        (WebCore::resolvedCallback):
     130        * platform/network/soup/ProxyResolverSoup.cpp:
     131        (soup_proxy_resolver_wk_init):
     132        (soupProxyResolverWkGetProxyURIAsync):
     133        (soupProxyResolverWkGetProxyURISync):
     134        * platform/network/soup/ResourceHandleSoup.cpp:
     135        (WebCore::sendRequestCallback):
     136        (WebCore::addFormElementsToSoupMessage):
     137        (WebCore::requestStartedCallback):
     138        (WebCore::closeCallback):
     139        (WebCore::readCallback):
     140        * rendering/RenderTheme.cpp:
     141        (WebCore::RenderTheme::adjustRepaintRect):
     142
    11432012-09-14  Charles Wei  <charles.wei@torchmobile.com.cn>
    2144
  • trunk/Source/WebCore/accessibility/AXObjectCache.h

    r125710 r128570  
    115115#else
    116116    static void enableAccessibility() { }
    117     static void setEnhancedUserInterfaceAccessibility(bool flag) { }
     117    static void setEnhancedUserInterfaceAccessibility(bool) { }
    118118    static bool accessibilityEnabled() { return false; }
    119119    static bool accessibilityEnhancedUserInterfaceEnabled() { return false; }
     
    244244inline void AXObjectCache::nodeTextChangeNotification(Node*, AXTextChange, unsigned, const String&) { }
    245245inline void AXObjectCache::nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned, const String&) { }
    246 inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType) { }
    247 inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool postToElement, PostType) { }
    248 inline void AXObjectCache::postNotification(Node*, AXNotification, bool postToElement, PostType) { }
     246inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, bool, PostType) { }
     247inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool, PostType) { }
     248inline void AXObjectCache::postNotification(Node*, AXNotification, bool, PostType) { }
    249249inline void AXObjectCache::postPlatformNotification(AccessibilityObject*, AXNotification) { }
    250250inline void AXObjectCache::remove(AXID) { }
  • trunk/Source/WebCore/inspector/InspectorPageAgent.cpp

    r127240 r128570  
    10191019#else
    10201020    *error = "Geolocation is not available.";
     1021    UNUSED_PARAM(latitude);
     1022    UNUSED_PARAM(longitude);
     1023    UNUSED_PARAM(accuracy);
    10211024#endif
    10221025}
  • trunk/Source/WebCore/loader/FrameLoaderClient.h

    r128129 r128570  
    335335#endif
    336336#if ENABLE(WEB_INTENTS_TAG)
    337         virtual void registerIntentService(const String& action, const String& type, const KURL& href, const String& title, const String& disposition) { }
     337        virtual void registerIntentService(const String&, const String&, const KURL&, const String&, const String&) { }
    338338#endif
    339339
  • trunk/Source/WebCore/page/Frame.cpp

    r128403 r128570  
    887887    return contentRenderer()->compositor()->layerTreeAsText(showDebugInfo);
    888888#else
     889    UNUSED_PARAM(showDebugInfo);
    889890    return String();
    890891#endif
  • trunk/Source/WebCore/page/FrameView.cpp

    r128184 r128570  
    37113711    if (TiledBacking* tiledBacking = this->tiledBacking())
    37123712        tiledBacking->setScrollingPerformanceLoggingEnabled(flag);
     3713#else
     3714    UNUSED_PARAM(flag);
    37133715#endif
    37143716}
  • trunk/Source/WebCore/page/efl/EventHandlerEfl.cpp

    r125715 r128570  
    5151#endif
    5252
    53 bool EventHandler::tabsToAllFormControls(KeyboardEvent* event) const
     53bool EventHandler::tabsToAllFormControls(KeyboardEvent*) const
    5454{
    5555    return true;
     
    7777}
    7878
    79 bool EventHandler::passMouseDownEventToWidget(Widget* widget)
     79bool EventHandler::passMouseDownEventToWidget(Widget*)
    8080{
    8181    notImplemented();
  • trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp

    r128521 r128570  
    219219    return renderView->compositor()->scrollLayer();
    220220#else
     221    UNUSED_PARAM(frameView);
    221222    return 0;
    222223#endif
  • trunk/Source/WebCore/platform/RuntimeApplicationChecks.cpp

    r96205 r128570  
    5050    return CFStringCompare(bundleIdentifier, bundleIdentifierToCompare.get(), 0) == kCFCompareEqualTo;
    5151#else
     52    UNUSED_PARAM(bundleIdentifierString);
    5253    return false;
    5354#endif
  • trunk/Source/WebCore/platform/ScrollView.cpp

    r124024 r128570  
    13631363}
    13641364
    1365 void ScrollView::platformSetScrollOrigin(const IntPoint&, bool updatePositionAtAll, bool updatePositionSynchronously)
     1365void ScrollView::platformSetScrollOrigin(const IntPoint&, bool, bool)
    13661366{
    13671367}
  • trunk/Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp

    r98827 r128570  
    3838                                             size.width(), size.height());
    3939#else
     40    UNUSED_PARAM(widget);
    4041    return adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, size.width(), size.height()));
    4142#endif
  • trunk/Source/WebCore/platform/efl/ContextMenuEfl.cpp

    r113147 r128570  
    9292}
    9393
    94 PlatformMenuDescription platformMenuDescription(Vector<ContextMenuItem>& menuItemVector)
     94PlatformMenuDescription platformMenuDescription(Vector<ContextMenuItem>&)
    9595{
    9696    notImplemented();
  • trunk/Source/WebCore/platform/efl/ContextMenuItemEfl.cpp

    r128011 r128570  
    5353}
    5454
    55 ContextMenuItem::ContextMenuItem(ContextMenuAction, const String&, bool enabled, bool checked, Vector<ContextMenuItem>& subMenuItems)
     55ContextMenuItem::ContextMenuItem(ContextMenuAction, const String&, bool, bool, Vector<ContextMenuItem>&)
    5656{
    5757}
  • trunk/Source/WebCore/platform/efl/DragDataEfl.cpp

    r99108 r128570  
    4747}
    4848
    49 void DragData::asFilenames(Vector<String>& result) const
     49void DragData::asFilenames(Vector<String>&) const
    5050{
    5151}
     
    7171}
    7272
    73 bool DragData::containsURL(Frame*, FilenameConversionPolicy filenamePolicy) const
     73bool DragData::containsURL(Frame*, FilenameConversionPolicy) const
    7474{
    7575    return false;
    7676}
    7777
    78 String DragData::asURL(Frame*, FilenameConversionPolicy filenamePolicy, String* title) const
     78String DragData::asURL(Frame*, FilenameConversionPolicy, String*) const
    7979{
    8080    return String();
  • trunk/Source/WebCore/platform/efl/GamepadsEfl.cpp

    r122150 r128570  
    129129};
    130130
    131 void GamepadsEfl::onGamePadChange(const char* syspath, Eeze_Udev_Event event, void* userData, Eeze_Udev_Watch* watcher)
     131void GamepadsEfl::onGamePadChange(const char* syspath, Eeze_Udev_Event event, void* userData, Eeze_Udev_Watch*)
    132132{
    133133    GamepadsEfl* gamepadsEfl = static_cast<GamepadsEfl*>(userData);
  • trunk/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp

    r127757 r128570  
    420420}
    421421
    422 String imageTitle(const String& filename, const IntSize& size)
     422String imageTitle(const String&, const IntSize&)
    423423{
    424424    notImplemented();
     
    427427
    428428#if ENABLE(VIDEO)
    429 String localizedMediaControlElementString(const String& name)
    430 {
    431     notImplemented();
    432     return String();
    433 }
    434 
    435 String localizedMediaControlElementHelpText(const String& name)
    436 {
    437     notImplemented();
    438     return String();
    439 }
    440 
    441 String localizedMediaTimeDescription(float time)
     429String localizedMediaControlElementString(const String&)
     430{
     431    notImplemented();
     432    return String();
     433}
     434
     435String localizedMediaControlElementHelpText(const String&)
     436{
     437    notImplemented();
     438    return String();
     439}
     440
     441String localizedMediaTimeDescription(float)
    442442{
    443443    notImplemented();
  • trunk/Source/WebCore/platform/efl/PasteboardEfl.cpp

    r127757 r128570  
    5252}
    5353
    54 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
     54void Pasteboard::writeSelection(Range*, bool, Frame*)
    5555{
    5656    notImplemented();
     
    6262}
    6363
    64 void Pasteboard::writeImage(Node* node, const KURL&, const String&)
     64void Pasteboard::writeImage(Node*, const KURL&, const String&)
    6565{
    6666    notImplemented();
     
    8383}
    8484
    85 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context,
    86                                                           bool allowPlainText, bool& chosePlainText)
     85PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame*, PassRefPtr<Range>, bool, bool&)
    8786{
    8887    notImplemented();
  • trunk/Source/WebCore/platform/efl/PlatformScreenEfl.cpp

    r127757 r128570  
    117117    int width = 0, height = 0;
    118118    CALL_WITH_ECORE_X(ecore_x_screen_size_get(screen, &width, &height));
     119    UNUSED_PARAM(widget);
    119120    return FloatRect(0, 0, width, height);
    120121#else
  • trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp

    r128565 r128570  
    721721}
    722722
    723 void RenderThemeEfl::adjustSliderTrackStyle(StyleResolver* styleResolver, RenderStyle* style, Element* element) const
     723void RenderThemeEfl::adjustSliderTrackStyle(StyleResolver*, RenderStyle* style, Element*) const
    724724{
    725725    style->setBoxShadow(nullptr);
     
    10041004}
    10051005
    1006 void RenderThemeEfl::systemFont(int propId, FontDescription& fontDescription) const
     1006void RenderThemeEfl::systemFont(int, FontDescription& fontDescription) const
    10071007{
    10081008    // It was called by RenderEmbeddedObject::paintReplaced to render alternative string.
     
    12151215}
    12161216
    1217 bool RenderThemeEfl::paintMediaSliderThumb(RenderObject* object, const PaintInfo& info, const IntRect& rect)
     1217bool RenderThemeEfl::paintMediaSliderThumb(RenderObject*, const PaintInfo& info, const IntRect& rect)
    12181218{
    12191219    IntSize thumbRect(3, 3);
     
    12221222}
    12231223
    1224 bool RenderThemeEfl::paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& info, const IntRect& rect)
     1224bool RenderThemeEfl::paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo&, const IntRect&)
    12251225{
    12261226    notImplemented();
     
    12281228}
    12291229
    1230 bool RenderThemeEfl::paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& info, const IntRect& rect)
     1230bool RenderThemeEfl::paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&)
    12311231{
    12321232    notImplemented();
     
    12341234}
    12351235
    1236 bool RenderThemeEfl::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& info, const IntRect& rect)
     1236bool RenderThemeEfl::paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&)
    12371237{
    12381238    notImplemented();
     
    12401240}
    12411241
    1242 bool RenderThemeEfl::paintMediaCurrentTime(RenderObject* object, const PaintInfo& info, const IntRect& rect)
     1242bool RenderThemeEfl::paintMediaCurrentTime(RenderObject*, const PaintInfo& info, const IntRect& rect)
    12431243{
    12441244    info.context->fillRect(FloatRect(rect), m_mediaPanelColor, ColorSpaceDeviceRGB);
  • trunk/Source/WebCore/platform/efl/ScrollbarEfl.cpp

    r125883 r128570  
    6868}
    6969
    70 static void scrollbarEflEdjeMessage(void* data, Evas_Object* object, Edje_Message_Type messageType, int id, void* message)
     70static void scrollbarEflEdjeMessage(void* data, Evas_Object*, Edje_Message_Type messageType, int id, void* message)
    7171{
    7272    ScrollbarEfl* that = static_cast<ScrollbarEfl*>(data);
  • trunk/Source/WebCore/platform/efl/ScrollbarThemeEfl.cpp

    r109451 r128570  
    4545}
    4646
    47 int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize controlSize)
     47int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize)
    4848{
    4949    return 0; // we paint on top
    5050}
    5151
    52 void ScrollbarThemeEfl::registerScrollbar(ScrollbarThemeClient* scrollbar)
     52void ScrollbarThemeEfl::registerScrollbar(ScrollbarThemeClient*)
    5353{
    5454}
    5555
    56 void ScrollbarThemeEfl::unregisterScrollbar(ScrollbarThemeClient* scrollbar)
     56void ScrollbarThemeEfl::unregisterScrollbar(ScrollbarThemeClient*)
    5757{
    5858}
  • trunk/Source/WebCore/platform/efl/TemporaryLinkStubs.cpp

    r123870 r128570  
    5252}
    5353
    54 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url)
     54String signedPublicKeyAndChallengeString(unsigned, const String&, const KURL&)
    5555{
    5656    return String();
  • trunk/Source/WebCore/platform/efl/WidgetEfl.cpp

    r122817 r128570  
    107107}
    108108
    109 void Widget::setFocus(bool focused)
     109void Widget::setFocus(bool)
    110110{
    111111}
     
    135135}
    136136
    137 void Widget::paint(GraphicsContext* context, const IntRect&)
     137void Widget::paint(GraphicsContext*, const IntRect&)
    138138{
    139139    notImplemented();
  • trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp

    r128558 r128570  
    705705// Implement this if you want to go ahead and push the drawing mode into your native context
    706706// immediately.
    707 void GraphicsContext::setPlatformTextDrawingMode(TextDrawingModeFlags mode)
     707void GraphicsContext::setPlatformTextDrawingMode(TextDrawingModeFlags)
    708708{
    709709}
  • trunk/Source/WebCore/platform/graphics/ImageSource.cpp

    r126892 r128570  
    176176}
    177177
    178 ImageOrientation ImageSource::orientationAtIndex(size_t index) const
     178ImageOrientation ImageSource::orientationAtIndex(size_t) const
    179179{
    180180    // The JPEG and TIFF decoders need to be taught how to read EXIF, XMP, or IPTC data.
  • trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp

    r127675 r128570  
    786786            return IsNotSupported;
    787787    }
     788#else
     789    UNUSED_PARAM(client);
    788790#endif
    789791
  • trunk/Source/WebCore/platform/graphics/cairo/FontCairoHarfbuzzNG.cpp

    r123864 r128570  
    3838namespace WebCore {
    3939
    40 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
     40void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int, int) const
    4141{
    4242    GlyphBuffer glyphBuffer;
  • trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp

    r124135 r128570  
    574574#if PLATFORM(GTK)
    575575    width = 2;
     576#else
     577    UNUSED_PARAM(width);
    576578#endif
    577579}
     
    668670}
    669671
    670 void GraphicsContext::drawLineForText(const FloatPoint& origin, float width, bool printing)
     672void GraphicsContext::drawLineForText(const FloatPoint& origin, float width, bool)
    671673{
    672674    if (paintingDisabled())
     
    771773}
    772774
    773 void GraphicsContext::setPlatformFillColor(const Color& col, ColorSpace colorSpace)
     775void GraphicsContext::setPlatformFillColor(const Color&, ColorSpace)
    774776{
    775777    // Cairo contexts can't hold separate fill and stroke colors
     
    777779}
    778780
    779 void GraphicsContext::setPlatformStrokeColor(const Color& col, ColorSpace colorSpace)
     781void GraphicsContext::setPlatformStrokeColor(const Color&, ColorSpace)
    780782{
    781783    // Cairo contexts can't hold separate fill and stroke colors
     
    816818}
    817819
    818 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)
     820void GraphicsContext::setURLForRect(const KURL&, const IntRect&)
    819821{
    820822    notImplemented();
     
    866868}
    867869
    868 void GraphicsContext::setPlatformShadow(FloatSize const& size, float blur, Color const& color, ColorSpace)
     870void GraphicsContext::setPlatformShadow(FloatSize const& size, float, Color const&, ColorSpace)
    869871{
    870872    if (paintingDisabled())
     
    10951097}
    10961098
    1097 void GraphicsContext::fillRoundedRect(const IntRect& r, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace)
     1099void GraphicsContext::fillRoundedRect(const IntRect& r, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace)
    10981100{
    10991101    if (paintingDisabled())
  • trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h

    r120956 r128570  
    9191    void concatCTM(const AffineTransform&) {}
    9292    void setCTM(const AffineTransform&) {}
    93     void syncContext(cairo_t* cr) {}
     93    void syncContext(cairo_t*) { }
    9494#endif
    9595
  • trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp

    r127757 r128570  
    4949namespace WebCore {
    5050
    51 ImageBufferData::ImageBufferData(const IntSize& size)
     51ImageBufferData::ImageBufferData(const IntSize&)
    5252    : m_surface(0)
    5353    , m_platformContext(0)
  • trunk/Source/WebCore/platform/graphics/cairo/ImageCairo.cpp

    r115385 r128570  
    4444
    4545void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform& patternTransform,
    46                         const FloatPoint& phase, ColorSpace colorSpace, CompositeOperator op, const FloatRect& destRect)
     46                        const FloatPoint& phase, ColorSpace, CompositeOperator op, const FloatRect& destRect)
    4747{
    4848    NativeImageCairo* image = nativeImageForCurrentFrame();
  • trunk/Source/WebCore/platform/graphics/efl/IconEfl.cpp

    r127757 r128570  
    5353}
    5454
    55 PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>& filenames)
     55PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>&)
    5656{
    5757    notImplemented();
     
    5959}
    6060
    61 void Icon::paint(GraphicsContext* context, const IntRect& rect)
     61void Icon::paint(GraphicsContext*, const IntRect&)
    6262{
    6363    notImplemented();
  • trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp

    r93140 r128570  
    101101}
    102102
    103 SimpleFontData* FontCache::getSimilarFontPlatformData(const Font& font)
     103SimpleFontData* FontCache::getSimilarFontPlatformData(const Font&)
    104104{
    105105    return 0;
     
    114114}
    115115
    116 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks)
     116void FontCache::getTraitsInFamily(const AtomicString&, Vector<unsigned>&)
    117117{
    118118}
  • trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp

    r109915 r128570  
    3838namespace WebCore {
    3939
    40 gboolean gstGWorldSyncMessageCallback(GstBus* bus, GstMessage* message, gpointer data)
     40gboolean gstGWorldSyncMessageCallback(GstBus*, GstMessage* message, gpointer data)
    4141{
    4242    ASSERT(GST_MESSAGE_TYPE(message) == GST_MESSAGE_ELEMENT);
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r128298 r128570  
    15441544}
    15451545
    1546 void MediaPlayerPrivateGStreamer::setVisible(bool visible)
     1546void MediaPlayerPrivateGStreamer::setVisible(bool)
    15471547{
    15481548}
  • trunk/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp

    r122983 r128570  
    363363
    364364#ifndef GST_API_VERSION_1
    365 static void webkitVideoSinkMarshalVoidAndMiniObject(GClosure* closure, GValue* returnValue, guint parametersNumber, const GValue* parameterValues, gpointer invocationHint, gpointer marshalData)
     365static void webkitVideoSinkMarshalVoidAndMiniObject(GClosure* closure, GValue*, guint parametersNumber, const GValue* parameterValues, gpointer, gpointer marshalData)
    366366{
    367367    typedef void (*marshalfunc_VOID__MINIOBJECT) (gpointer obj, gpointer arg1, gpointer data2);
  • trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

    r127469 r128570  
    631631#endif
    632632
    633 static void webKitWebSrcUriHandlerInit(gpointer gIface, gpointer ifaceData)
     633static void webKitWebSrcUriHandlerInit(gpointer gIface, gpointer)
    634634{
    635635    GstURIHandlerInterface* iface = (GstURIHandlerInterface *) gIface;
     
    656656}
    657657
    658 static void webKitWebSrcNeedDataCb(GstAppSrc* appsrc, guint length, gpointer userData)
     658static void webKitWebSrcNeedDataCb(GstAppSrc*, guint length, gpointer userData)
    659659{
    660660    WebKitWebSrc* src = WEBKIT_WEB_SRC(userData);
     
    687687}
    688688
    689 static void webKitWebSrcEnoughDataCb(GstAppSrc* appsrc, gpointer userData)
     689static void webKitWebSrcEnoughDataCb(GstAppSrc*, gpointer userData)
    690690{
    691691    WebKitWebSrc* src = WEBKIT_WEB_SRC(userData);
     
    712712}
    713713
    714 static gboolean webKitWebSrcSeekDataCb(GstAppSrc* appsrc, guint64 offset, gpointer userData)
     714static gboolean webKitWebSrcSeekDataCb(GstAppSrc*, guint64 offset, gpointer userData)
    715715{
    716716    WebKitWebSrc* src = WEBKIT_WEB_SRC(userData);
     
    854854}
    855855
    856 void StreamingClient::didReceiveData(ResourceHandle* handle, const char* data, int length, int encodedDataLength)
     856void StreamingClient::didReceiveData(ResourceHandle* handle, const char* data, int length, int)
    857857{
    858858    WebKitWebSrcPrivate* priv = m_src->priv;
  • trunk/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp

    r124454 r128570  
    9191}
    9292
    93 static hb_bool_t harfbuzzGetGlyph(hb_font_t* hbFont, void* fontData, hb_codepoint_t unicode, hb_codepoint_t variationSelector, hb_codepoint_t* glyph, void* userData)
     93static hb_bool_t harfbuzzGetGlyph(hb_font_t*, void* fontData, hb_codepoint_t unicode, hb_codepoint_t, hb_codepoint_t* glyph, void*)
    9494{
    9595    FontPlatformData* platformData = reinterpret_cast<FontPlatformData*>(fontData);
     
    109109}
    110110
    111 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, void* userData)
     111static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t*, void* fontData, hb_codepoint_t glyph, void*)
    112112{
    113113    FontPlatformData* platformData = reinterpret_cast<FontPlatformData*>(fontData);
     
    120120}
    121121
    122 static hb_bool_t harfbuzzGetGlyphHorizontalOrigin(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_position_t* x, hb_position_t* y, void* userData)
     122static hb_bool_t harfbuzzGetGlyphHorizontalOrigin(hb_font_t*, void*, hb_codepoint_t, hb_position_t*, hb_position_t*, void*)
    123123{
    124124    // Just return true, following the way that Harfbuzz-FreeType
     
    127127}
    128128
    129 static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void* userData)
     129static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t*, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void*)
    130130{
    131131    FontPlatformData* platformData = reinterpret_cast<FontPlatformData*>(fontData);
     
    154154}
    155155
    156 static hb_blob_t* harfbuzzCairoGetTable(hb_face_t* face, hb_tag_t tag, void* userData)
     156static hb_blob_t* harfbuzzCairoGetTable(hb_face_t*, hb_tag_t tag, void* userData)
    157157{
    158158    FontPlatformData* font = reinterpret_cast<FontPlatformData*>(userData);
  • trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp

    r125769 r128570  
    157157    return colorProfile;
    158158#else
     159    UNUSED_PARAM(info);
    159160    return ColorProfile();
    160161#endif
     
    476477}
    477478
    478 void init_source(j_decompress_ptr jd)
     479void init_source(j_decompress_ptr)
    479480{
    480481}
     
    486487}
    487488
    488 boolean fill_input_buffer(j_decompress_ptr jd)
     489boolean fill_input_buffer(j_decompress_ptr)
    489490{
    490491    // Our decode step always sets things up properly, so if this method is ever
  • trunk/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp

    r125769 r128570  
    402402}
    403403
    404 void PNGImageDecoder::rowAvailable(unsigned char* rowBuffer, unsigned rowIndex, int interlacePass)
     404void PNGImageDecoder::rowAvailable(unsigned char* rowBuffer, unsigned rowIndex, int)
    405405{
    406406    if (m_frameBufferCache.isEmpty())
  • trunk/Source/WebCore/platform/network/soup/CookieStorageSoup.cpp

    r122425 r128570  
    3232namespace WebCore {
    3333
    34 void setCookieStoragePrivateBrowsingEnabled(bool enabled)
     34void setCookieStoragePrivateBrowsingEnabled(bool)
    3535{
    3636    notImplemented();
  • trunk/Source/WebCore/platform/network/soup/DNSSoup.cpp

    r112396 r128570  
    4444}
    4545
    46 static void resolvedCallback(SoupAddress* soupAddress, guint status, void* userData)
     46static void resolvedCallback(SoupAddress*, guint, void*)
    4747{
    4848    DNSResolveQueue::shared().decrementRequestCount();
  • trunk/Source/WebCore/platform/network/soup/ProxyResolverSoup.cpp

    r123218 r128570  
    5656};
    5757
    58 static void soup_proxy_resolver_wk_init(SoupProxyResolverWk* resolverWk)
     58static void soup_proxy_resolver_wk_init(SoupProxyResolverWk*)
    5959{
    6060}
     
    145145}
    146146
    147 static void soupProxyResolverWkGetProxyURIAsync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GMainContext* asyncContext, GCancellable* cancellable, SoupProxyURIResolverCallback callback, void* userData)
     147static void soupProxyResolverWkGetProxyURIAsync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GMainContext* asyncContext, GCancellable*, SoupProxyURIResolverCallback callback, void* userData)
    148148{
    149149    SoupWkAsyncData* ssad;
     
    157157}
    158158
    159 static uint soupProxyResolverWkGetProxyURISync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GCancellable* cancellable, SoupURI** proxyURI)
     159static uint soupProxyResolverWkGetProxyURISync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GCancellable*, SoupURI** proxyURI)
    160160{
    161161    SoupProxyResolverWkPrivate* priv = SOUP_PROXY_RESOLVER_WK_GET_PRIVATE(proxyResolver);
  • trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp

    r126926 r128570  
    411411}
    412412
    413 static void sendRequestCallback(GObject* source, GAsyncResult* res, gpointer data)
     413static void sendRequestCallback(GObject*, GAsyncResult* res, gpointer data)
    414414{
    415415    RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data);
     
    544544#endif // ENABLE(BLOB)
    545545
    546 static bool addFormElementsToSoupMessage(SoupMessage* message, const char* contentType, FormData* httpBody, unsigned long& totalBodySize)
     546static bool addFormElementsToSoupMessage(SoupMessage* message, const char*, FormData* httpBody, unsigned long& totalBodySize)
    547547{
    548548    soup_message_body_set_accumulate(message->request_body, FALSE);
     
    595595}
    596596
    597 static void requestStartedCallback(SoupSession*, SoupMessage* soupMessage, SoupSocket*, gpointer data)
     597static void requestStartedCallback(SoupSession*, SoupMessage* soupMessage, SoupSocket*, gpointer)
    598598{
    599599    RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(g_object_get_data(G_OBJECT(soupMessage), "handle"));
     
    906906}
    907907
    908 static void closeCallback(GObject* source, GAsyncResult* res, gpointer data)
     908static void closeCallback(GObject*, GAsyncResult* res, gpointer data)
    909909{
    910910    RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data);
     
    920920}
    921921
    922 static void readCallback(GObject* source, GAsyncResult* asyncResult, gpointer data)
     922static void readCallback(GObject*, GAsyncResult* asyncResult, gpointer data)
    923923{
    924924    RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data);
  • trunk/Source/WebCore/rendering/RenderTheme.cpp

    r127140 r128570  
    694694#if USE(NEW_THEME)
    695695    m_theme->inflateControlPaintRect(o->style()->appearance(), controlStatesForRenderer(o), r, o->style()->effectiveZoom());
     696#else
     697    UNUSED_PARAM(o);
     698    UNUSED_PARAM(r);
    696699#endif
    697700}
Note: See TracChangeset for help on using the changeset viewer.