Changeset 128570 in webkit
- Timestamp:
- Sep 14, 2012 1:42:44 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 45 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r128568 r128570 1 2012-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 1 143 2012-09-14 Charles Wei <charles.wei@torchmobile.com.cn> 2 144 -
trunk/Source/WebCore/accessibility/AXObjectCache.h
r125710 r128570 115 115 #else 116 116 static void enableAccessibility() { } 117 static void setEnhancedUserInterfaceAccessibility(bool flag) { }117 static void setEnhancedUserInterfaceAccessibility(bool) { } 118 118 static bool accessibilityEnabled() { return false; } 119 119 static bool accessibilityEnhancedUserInterfaceEnabled() { return false; } … … 244 244 inline void AXObjectCache::nodeTextChangeNotification(Node*, AXTextChange, unsigned, const String&) { } 245 245 inline 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) { }246 inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, bool, PostType) { } 247 inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool, PostType) { } 248 inline void AXObjectCache::postNotification(Node*, AXNotification, bool, PostType) { } 249 249 inline void AXObjectCache::postPlatformNotification(AccessibilityObject*, AXNotification) { } 250 250 inline void AXObjectCache::remove(AXID) { } -
trunk/Source/WebCore/inspector/InspectorPageAgent.cpp
r127240 r128570 1019 1019 #else 1020 1020 *error = "Geolocation is not available."; 1021 UNUSED_PARAM(latitude); 1022 UNUSED_PARAM(longitude); 1023 UNUSED_PARAM(accuracy); 1021 1024 #endif 1022 1025 } -
trunk/Source/WebCore/loader/FrameLoaderClient.h
r128129 r128570 335 335 #endif 336 336 #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&) { } 338 338 #endif 339 339 -
trunk/Source/WebCore/page/Frame.cpp
r128403 r128570 887 887 return contentRenderer()->compositor()->layerTreeAsText(showDebugInfo); 888 888 #else 889 UNUSED_PARAM(showDebugInfo); 889 890 return String(); 890 891 #endif -
trunk/Source/WebCore/page/FrameView.cpp
r128184 r128570 3711 3711 if (TiledBacking* tiledBacking = this->tiledBacking()) 3712 3712 tiledBacking->setScrollingPerformanceLoggingEnabled(flag); 3713 #else 3714 UNUSED_PARAM(flag); 3713 3715 #endif 3714 3716 } -
trunk/Source/WebCore/page/efl/EventHandlerEfl.cpp
r125715 r128570 51 51 #endif 52 52 53 bool EventHandler::tabsToAllFormControls(KeyboardEvent* event) const53 bool EventHandler::tabsToAllFormControls(KeyboardEvent*) const 54 54 { 55 55 return true; … … 77 77 } 78 78 79 bool EventHandler::passMouseDownEventToWidget(Widget* widget)79 bool EventHandler::passMouseDownEventToWidget(Widget*) 80 80 { 81 81 notImplemented(); -
trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
r128521 r128570 219 219 return renderView->compositor()->scrollLayer(); 220 220 #else 221 UNUSED_PARAM(frameView); 221 222 return 0; 222 223 #endif -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.cpp
r96205 r128570 50 50 return CFStringCompare(bundleIdentifier, bundleIdentifierToCompare.get(), 0) == kCFCompareEqualTo; 51 51 #else 52 UNUSED_PARAM(bundleIdentifierString); 52 53 return false; 53 54 #endif -
trunk/Source/WebCore/platform/ScrollView.cpp
r124024 r128570 1363 1363 } 1364 1364 1365 void ScrollView::platformSetScrollOrigin(const IntPoint&, bool updatePositionAtAll, bool updatePositionSynchronously)1365 void ScrollView::platformSetScrollOrigin(const IntPoint&, bool, bool) 1366 1366 { 1367 1367 } -
trunk/Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp
r98827 r128570 38 38 size.width(), size.height()); 39 39 #else 40 UNUSED_PARAM(widget); 40 41 return adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, size.width(), size.height())); 41 42 #endif -
trunk/Source/WebCore/platform/efl/ContextMenuEfl.cpp
r113147 r128570 92 92 } 93 93 94 PlatformMenuDescription platformMenuDescription(Vector<ContextMenuItem>& menuItemVector)94 PlatformMenuDescription platformMenuDescription(Vector<ContextMenuItem>&) 95 95 { 96 96 notImplemented(); -
trunk/Source/WebCore/platform/efl/ContextMenuItemEfl.cpp
r128011 r128570 53 53 } 54 54 55 ContextMenuItem::ContextMenuItem(ContextMenuAction, const String&, bool enabled, bool checked, Vector<ContextMenuItem>& subMenuItems)55 ContextMenuItem::ContextMenuItem(ContextMenuAction, const String&, bool, bool, Vector<ContextMenuItem>&) 56 56 { 57 57 } -
trunk/Source/WebCore/platform/efl/DragDataEfl.cpp
r99108 r128570 47 47 } 48 48 49 void DragData::asFilenames(Vector<String>& result) const49 void DragData::asFilenames(Vector<String>&) const 50 50 { 51 51 } … … 71 71 } 72 72 73 bool DragData::containsURL(Frame*, FilenameConversionPolicy filenamePolicy) const73 bool DragData::containsURL(Frame*, FilenameConversionPolicy) const 74 74 { 75 75 return false; 76 76 } 77 77 78 String DragData::asURL(Frame*, FilenameConversionPolicy filenamePolicy, String* title) const78 String DragData::asURL(Frame*, FilenameConversionPolicy, String*) const 79 79 { 80 80 return String(); -
trunk/Source/WebCore/platform/efl/GamepadsEfl.cpp
r122150 r128570 129 129 }; 130 130 131 void GamepadsEfl::onGamePadChange(const char* syspath, Eeze_Udev_Event event, void* userData, Eeze_Udev_Watch* watcher)131 void GamepadsEfl::onGamePadChange(const char* syspath, Eeze_Udev_Event event, void* userData, Eeze_Udev_Watch*) 132 132 { 133 133 GamepadsEfl* gamepadsEfl = static_cast<GamepadsEfl*>(userData); -
trunk/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp
r127757 r128570 420 420 } 421 421 422 String imageTitle(const String& filename, const IntSize& size)422 String imageTitle(const String&, const IntSize&) 423 423 { 424 424 notImplemented(); … … 427 427 428 428 #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)429 String localizedMediaControlElementString(const String&) 430 { 431 notImplemented(); 432 return String(); 433 } 434 435 String localizedMediaControlElementHelpText(const String&) 436 { 437 notImplemented(); 438 return String(); 439 } 440 441 String localizedMediaTimeDescription(float) 442 442 { 443 443 notImplemented(); -
trunk/Source/WebCore/platform/efl/PasteboardEfl.cpp
r127757 r128570 52 52 } 53 53 54 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)54 void Pasteboard::writeSelection(Range*, bool, Frame*) 55 55 { 56 56 notImplemented(); … … 62 62 } 63 63 64 void Pasteboard::writeImage(Node* node, const KURL&, const String&)64 void Pasteboard::writeImage(Node*, const KURL&, const String&) 65 65 { 66 66 notImplemented(); … … 83 83 } 84 84 85 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context, 86 bool allowPlainText, bool& chosePlainText) 85 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame*, PassRefPtr<Range>, bool, bool&) 87 86 { 88 87 notImplemented(); -
trunk/Source/WebCore/platform/efl/PlatformScreenEfl.cpp
r127757 r128570 117 117 int width = 0, height = 0; 118 118 CALL_WITH_ECORE_X(ecore_x_screen_size_get(screen, &width, &height)); 119 UNUSED_PARAM(widget); 119 120 return FloatRect(0, 0, width, height); 120 121 #else -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp
r128565 r128570 721 721 } 722 722 723 void RenderThemeEfl::adjustSliderTrackStyle(StyleResolver* styleResolver, RenderStyle* style, Element* element) const723 void RenderThemeEfl::adjustSliderTrackStyle(StyleResolver*, RenderStyle* style, Element*) const 724 724 { 725 725 style->setBoxShadow(nullptr); … … 1004 1004 } 1005 1005 1006 void RenderThemeEfl::systemFont(int propId, FontDescription& fontDescription) const1006 void RenderThemeEfl::systemFont(int, FontDescription& fontDescription) const 1007 1007 { 1008 1008 // It was called by RenderEmbeddedObject::paintReplaced to render alternative string. … … 1215 1215 } 1216 1216 1217 bool RenderThemeEfl::paintMediaSliderThumb(RenderObject* object, const PaintInfo& info, const IntRect& rect)1217 bool RenderThemeEfl::paintMediaSliderThumb(RenderObject*, const PaintInfo& info, const IntRect& rect) 1218 1218 { 1219 1219 IntSize thumbRect(3, 3); … … 1222 1222 } 1223 1223 1224 bool RenderThemeEfl::paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& info, const IntRect& rect)1224 bool RenderThemeEfl::paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo&, const IntRect&) 1225 1225 { 1226 1226 notImplemented(); … … 1228 1228 } 1229 1229 1230 bool RenderThemeEfl::paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& info, const IntRect& rect)1230 bool RenderThemeEfl::paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) 1231 1231 { 1232 1232 notImplemented(); … … 1234 1234 } 1235 1235 1236 bool RenderThemeEfl::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& info, const IntRect& rect)1236 bool RenderThemeEfl::paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) 1237 1237 { 1238 1238 notImplemented(); … … 1240 1240 } 1241 1241 1242 bool RenderThemeEfl::paintMediaCurrentTime(RenderObject* object, const PaintInfo& info, const IntRect& rect)1242 bool RenderThemeEfl::paintMediaCurrentTime(RenderObject*, const PaintInfo& info, const IntRect& rect) 1243 1243 { 1244 1244 info.context->fillRect(FloatRect(rect), m_mediaPanelColor, ColorSpaceDeviceRGB); -
trunk/Source/WebCore/platform/efl/ScrollbarEfl.cpp
r125883 r128570 68 68 } 69 69 70 static void scrollbarEflEdjeMessage(void* data, Evas_Object* object, Edje_Message_Type messageType, int id, void* message)70 static void scrollbarEflEdjeMessage(void* data, Evas_Object*, Edje_Message_Type messageType, int id, void* message) 71 71 { 72 72 ScrollbarEfl* that = static_cast<ScrollbarEfl*>(data); -
trunk/Source/WebCore/platform/efl/ScrollbarThemeEfl.cpp
r109451 r128570 45 45 } 46 46 47 int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize controlSize)47 int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize) 48 48 { 49 49 return 0; // we paint on top 50 50 } 51 51 52 void ScrollbarThemeEfl::registerScrollbar(ScrollbarThemeClient* scrollbar)52 void ScrollbarThemeEfl::registerScrollbar(ScrollbarThemeClient*) 53 53 { 54 54 } 55 55 56 void ScrollbarThemeEfl::unregisterScrollbar(ScrollbarThemeClient* scrollbar)56 void ScrollbarThemeEfl::unregisterScrollbar(ScrollbarThemeClient*) 57 57 { 58 58 } -
trunk/Source/WebCore/platform/efl/TemporaryLinkStubs.cpp
r123870 r128570 52 52 } 53 53 54 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url)54 String signedPublicKeyAndChallengeString(unsigned, const String&, const KURL&) 55 55 { 56 56 return String(); -
trunk/Source/WebCore/platform/efl/WidgetEfl.cpp
r122817 r128570 107 107 } 108 108 109 void Widget::setFocus(bool focused)109 void Widget::setFocus(bool) 110 110 { 111 111 } … … 135 135 } 136 136 137 void Widget::paint(GraphicsContext* context, const IntRect&)137 void Widget::paint(GraphicsContext*, const IntRect&) 138 138 { 139 139 notImplemented(); -
trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp
r128558 r128570 705 705 // Implement this if you want to go ahead and push the drawing mode into your native context 706 706 // immediately. 707 void GraphicsContext::setPlatformTextDrawingMode(TextDrawingModeFlags mode)707 void GraphicsContext::setPlatformTextDrawingMode(TextDrawingModeFlags) 708 708 { 709 709 } -
trunk/Source/WebCore/platform/graphics/ImageSource.cpp
r126892 r128570 176 176 } 177 177 178 ImageOrientation ImageSource::orientationAtIndex(size_t index) const178 ImageOrientation ImageSource::orientationAtIndex(size_t) const 179 179 { 180 180 // 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 786 786 return IsNotSupported; 787 787 } 788 #else 789 UNUSED_PARAM(client); 788 790 #endif 789 791 -
trunk/Source/WebCore/platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
r123864 r128570 38 38 namespace WebCore { 39 39 40 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const40 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int, int) const 41 41 { 42 42 GlyphBuffer glyphBuffer; -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
r124135 r128570 574 574 #if PLATFORM(GTK) 575 575 width = 2; 576 #else 577 UNUSED_PARAM(width); 576 578 #endif 577 579 } … … 668 670 } 669 671 670 void GraphicsContext::drawLineForText(const FloatPoint& origin, float width, bool printing)672 void GraphicsContext::drawLineForText(const FloatPoint& origin, float width, bool) 671 673 { 672 674 if (paintingDisabled()) … … 771 773 } 772 774 773 void GraphicsContext::setPlatformFillColor(const Color& col, ColorSpace colorSpace)775 void GraphicsContext::setPlatformFillColor(const Color&, ColorSpace) 774 776 { 775 777 // Cairo contexts can't hold separate fill and stroke colors … … 777 779 } 778 780 779 void GraphicsContext::setPlatformStrokeColor(const Color& col, ColorSpace colorSpace)781 void GraphicsContext::setPlatformStrokeColor(const Color&, ColorSpace) 780 782 { 781 783 // Cairo contexts can't hold separate fill and stroke colors … … 816 818 } 817 819 818 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)820 void GraphicsContext::setURLForRect(const KURL&, const IntRect&) 819 821 { 820 822 notImplemented(); … … 866 868 } 867 869 868 void GraphicsContext::setPlatformShadow(FloatSize const& size, float blur, Color const& color, ColorSpace)870 void GraphicsContext::setPlatformShadow(FloatSize const& size, float, Color const&, ColorSpace) 869 871 { 870 872 if (paintingDisabled()) … … 1095 1097 } 1096 1098 1097 void GraphicsContext::fillRoundedRect(const IntRect& r, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace)1099 void GraphicsContext::fillRoundedRect(const IntRect& r, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace) 1098 1100 { 1099 1101 if (paintingDisabled()) -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h
r120956 r128570 91 91 void concatCTM(const AffineTransform&) {} 92 92 void setCTM(const AffineTransform&) {} 93 void syncContext(cairo_t* cr) {}93 void syncContext(cairo_t*) { } 94 94 #endif 95 95 -
trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp
r127757 r128570 49 49 namespace WebCore { 50 50 51 ImageBufferData::ImageBufferData(const IntSize& size)51 ImageBufferData::ImageBufferData(const IntSize&) 52 52 : m_surface(0) 53 53 , m_platformContext(0) -
trunk/Source/WebCore/platform/graphics/cairo/ImageCairo.cpp
r115385 r128570 44 44 45 45 void 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) 47 47 { 48 48 NativeImageCairo* image = nativeImageForCurrentFrame(); -
trunk/Source/WebCore/platform/graphics/efl/IconEfl.cpp
r127757 r128570 53 53 } 54 54 55 PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>& filenames)55 PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>&) 56 56 { 57 57 notImplemented(); … … 59 59 } 60 60 61 void Icon::paint(GraphicsContext* context, const IntRect& rect)61 void Icon::paint(GraphicsContext*, const IntRect&) 62 62 { 63 63 notImplemented(); -
trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp
r93140 r128570 101 101 } 102 102 103 SimpleFontData* FontCache::getSimilarFontPlatformData(const Font& font)103 SimpleFontData* FontCache::getSimilarFontPlatformData(const Font&) 104 104 { 105 105 return 0; … … 114 114 } 115 115 116 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks)116 void FontCache::getTraitsInFamily(const AtomicString&, Vector<unsigned>&) 117 117 { 118 118 } -
trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp
r109915 r128570 38 38 namespace WebCore { 39 39 40 gboolean gstGWorldSyncMessageCallback(GstBus* bus, GstMessage* message, gpointer data)40 gboolean gstGWorldSyncMessageCallback(GstBus*, GstMessage* message, gpointer data) 41 41 { 42 42 ASSERT(GST_MESSAGE_TYPE(message) == GST_MESSAGE_ELEMENT); -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r128298 r128570 1544 1544 } 1545 1545 1546 void MediaPlayerPrivateGStreamer::setVisible(bool visible)1546 void MediaPlayerPrivateGStreamer::setVisible(bool) 1547 1547 { 1548 1548 } -
trunk/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp
r122983 r128570 363 363 364 364 #ifndef GST_API_VERSION_1 365 static void webkitVideoSinkMarshalVoidAndMiniObject(GClosure* closure, GValue* returnValue, guint parametersNumber, const GValue* parameterValues, gpointer invocationHint, gpointer marshalData)365 static void webkitVideoSinkMarshalVoidAndMiniObject(GClosure* closure, GValue*, guint parametersNumber, const GValue* parameterValues, gpointer, gpointer marshalData) 366 366 { 367 367 typedef void (*marshalfunc_VOID__MINIOBJECT) (gpointer obj, gpointer arg1, gpointer data2); -
trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
r127469 r128570 631 631 #endif 632 632 633 static void webKitWebSrcUriHandlerInit(gpointer gIface, gpointer ifaceData)633 static void webKitWebSrcUriHandlerInit(gpointer gIface, gpointer) 634 634 { 635 635 GstURIHandlerInterface* iface = (GstURIHandlerInterface *) gIface; … … 656 656 } 657 657 658 static void webKitWebSrcNeedDataCb(GstAppSrc* appsrc, guint length, gpointer userData)658 static void webKitWebSrcNeedDataCb(GstAppSrc*, guint length, gpointer userData) 659 659 { 660 660 WebKitWebSrc* src = WEBKIT_WEB_SRC(userData); … … 687 687 } 688 688 689 static void webKitWebSrcEnoughDataCb(GstAppSrc* appsrc, gpointer userData)689 static void webKitWebSrcEnoughDataCb(GstAppSrc*, gpointer userData) 690 690 { 691 691 WebKitWebSrc* src = WEBKIT_WEB_SRC(userData); … … 712 712 } 713 713 714 static gboolean webKitWebSrcSeekDataCb(GstAppSrc* appsrc, guint64 offset, gpointer userData)714 static gboolean webKitWebSrcSeekDataCb(GstAppSrc*, guint64 offset, gpointer userData) 715 715 { 716 716 WebKitWebSrc* src = WEBKIT_WEB_SRC(userData); … … 854 854 } 855 855 856 void StreamingClient::didReceiveData(ResourceHandle* handle, const char* data, int length, int encodedDataLength)856 void StreamingClient::didReceiveData(ResourceHandle* handle, const char* data, int length, int) 857 857 { 858 858 WebKitWebSrcPrivate* priv = m_src->priv; -
trunk/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp
r124454 r128570 91 91 } 92 92 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)93 static hb_bool_t harfbuzzGetGlyph(hb_font_t*, void* fontData, hb_codepoint_t unicode, hb_codepoint_t, hb_codepoint_t* glyph, void*) 94 94 { 95 95 FontPlatformData* platformData = reinterpret_cast<FontPlatformData*>(fontData); … … 109 109 } 110 110 111 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, void* userData)111 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t*, void* fontData, hb_codepoint_t glyph, void*) 112 112 { 113 113 FontPlatformData* platformData = reinterpret_cast<FontPlatformData*>(fontData); … … 120 120 } 121 121 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)122 static hb_bool_t harfbuzzGetGlyphHorizontalOrigin(hb_font_t*, void*, hb_codepoint_t, hb_position_t*, hb_position_t*, void*) 123 123 { 124 124 // Just return true, following the way that Harfbuzz-FreeType … … 127 127 } 128 128 129 static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void* userData)129 static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t*, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void*) 130 130 { 131 131 FontPlatformData* platformData = reinterpret_cast<FontPlatformData*>(fontData); … … 154 154 } 155 155 156 static hb_blob_t* harfbuzzCairoGetTable(hb_face_t* face, hb_tag_t tag, void* userData)156 static hb_blob_t* harfbuzzCairoGetTable(hb_face_t*, hb_tag_t tag, void* userData) 157 157 { 158 158 FontPlatformData* font = reinterpret_cast<FontPlatformData*>(userData); -
trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
r125769 r128570 157 157 return colorProfile; 158 158 #else 159 UNUSED_PARAM(info); 159 160 return ColorProfile(); 160 161 #endif … … 476 477 } 477 478 478 void init_source(j_decompress_ptr jd)479 void init_source(j_decompress_ptr) 479 480 { 480 481 } … … 486 487 } 487 488 488 boolean fill_input_buffer(j_decompress_ptr jd)489 boolean fill_input_buffer(j_decompress_ptr) 489 490 { 490 491 // 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 402 402 } 403 403 404 void PNGImageDecoder::rowAvailable(unsigned char* rowBuffer, unsigned rowIndex, int interlacePass)404 void PNGImageDecoder::rowAvailable(unsigned char* rowBuffer, unsigned rowIndex, int) 405 405 { 406 406 if (m_frameBufferCache.isEmpty()) -
trunk/Source/WebCore/platform/network/soup/CookieStorageSoup.cpp
r122425 r128570 32 32 namespace WebCore { 33 33 34 void setCookieStoragePrivateBrowsingEnabled(bool enabled)34 void setCookieStoragePrivateBrowsingEnabled(bool) 35 35 { 36 36 notImplemented(); -
trunk/Source/WebCore/platform/network/soup/DNSSoup.cpp
r112396 r128570 44 44 } 45 45 46 static void resolvedCallback(SoupAddress* soupAddress, guint status, void* userData)46 static void resolvedCallback(SoupAddress*, guint, void*) 47 47 { 48 48 DNSResolveQueue::shared().decrementRequestCount(); -
trunk/Source/WebCore/platform/network/soup/ProxyResolverSoup.cpp
r123218 r128570 56 56 }; 57 57 58 static void soup_proxy_resolver_wk_init(SoupProxyResolverWk* resolverWk)58 static void soup_proxy_resolver_wk_init(SoupProxyResolverWk*) 59 59 { 60 60 } … … 145 145 } 146 146 147 static void soupProxyResolverWkGetProxyURIAsync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GMainContext* asyncContext, GCancellable* cancellable, SoupProxyURIResolverCallback callback, void* userData)147 static void soupProxyResolverWkGetProxyURIAsync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GMainContext* asyncContext, GCancellable*, SoupProxyURIResolverCallback callback, void* userData) 148 148 { 149 149 SoupWkAsyncData* ssad; … … 157 157 } 158 158 159 static uint soupProxyResolverWkGetProxyURISync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GCancellable* cancellable, SoupURI** proxyURI)159 static uint soupProxyResolverWkGetProxyURISync(SoupProxyURIResolver* proxyResolver, SoupURI* uri, GCancellable*, SoupURI** proxyURI) 160 160 { 161 161 SoupProxyResolverWkPrivate* priv = SOUP_PROXY_RESOLVER_WK_GET_PRIVATE(proxyResolver); -
trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp
r126926 r128570 411 411 } 412 412 413 static void sendRequestCallback(GObject* source, GAsyncResult* res, gpointer data)413 static void sendRequestCallback(GObject*, GAsyncResult* res, gpointer data) 414 414 { 415 415 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); … … 544 544 #endif // ENABLE(BLOB) 545 545 546 static bool addFormElementsToSoupMessage(SoupMessage* message, const char* contentType, FormData* httpBody, unsigned long& totalBodySize)546 static bool addFormElementsToSoupMessage(SoupMessage* message, const char*, FormData* httpBody, unsigned long& totalBodySize) 547 547 { 548 548 soup_message_body_set_accumulate(message->request_body, FALSE); … … 595 595 } 596 596 597 static void requestStartedCallback(SoupSession*, SoupMessage* soupMessage, SoupSocket*, gpointer data)597 static void requestStartedCallback(SoupSession*, SoupMessage* soupMessage, SoupSocket*, gpointer) 598 598 { 599 599 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(g_object_get_data(G_OBJECT(soupMessage), "handle")); … … 906 906 } 907 907 908 static void closeCallback(GObject* source, GAsyncResult* res, gpointer data)908 static void closeCallback(GObject*, GAsyncResult* res, gpointer data) 909 909 { 910 910 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); … … 920 920 } 921 921 922 static void readCallback(GObject* source, GAsyncResult* asyncResult, gpointer data)922 static void readCallback(GObject*, GAsyncResult* asyncResult, gpointer data) 923 923 { 924 924 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); -
trunk/Source/WebCore/rendering/RenderTheme.cpp
r127140 r128570 694 694 #if USE(NEW_THEME) 695 695 m_theme->inflateControlPaintRect(o->style()->appearance(), controlStatesForRenderer(o), r, o->style()->effectiveZoom()); 696 #else 697 UNUSED_PARAM(o); 698 UNUSED_PARAM(r); 696 699 #endif 697 700 }
Note: See TracChangeset
for help on using the changeset viewer.