Changeset 133889 in webkit


Ignore:
Timestamp:
Nov 8, 2012 5:35:21 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Unused parameters on GraphicsLayerUpdater.cpp
https://bugs.webkit.org/show_bug.cgi?id=101577

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-11-08
Reviewed by Kentaro Hara.

The parameter 'displayID' is not used when !USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
Use UNUSED_PARAM macro for removing -Wunused-parameter warnings

  • platform/graphics/GraphicsLayerUpdater.cpp:

(WebCore::GraphicsLayerUpdater::GraphicsLayerUpdater):
(WebCore::GraphicsLayerUpdater::screenDidChange):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r133885 r133889  
     12012-11-08  KyungTae Kim  <ktf.kim@samsung.com>
     2
     3        Unused parameters on GraphicsLayerUpdater.cpp
     4        https://bugs.webkit.org/show_bug.cgi?id=101577
     5
     6        Reviewed by Kentaro Hara.
     7
     8        The parameter 'displayID' is not used when !USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
     9        Use UNUSED_PARAM macro for removing -Wunused-parameter warnings
     10
     11        * platform/graphics/GraphicsLayerUpdater.cpp:
     12        (WebCore::GraphicsLayerUpdater::GraphicsLayerUpdater):
     13        (WebCore::GraphicsLayerUpdater::screenDidChange):
     14
    1152012-11-08  Alexander Pavlov  <apavlov@chromium.org>
    216
  • trunk/Source/WebCore/platform/graphics/GraphicsLayerUpdater.cpp

    r131680 r133889  
    4242    DisplayRefreshMonitorManager::sharedManager()->windowScreenDidChange(displayID, this);
    4343    DisplayRefreshMonitorManager::sharedManager()->scheduleAnimation(this);
     44#else
     45    UNUSED_PARAM(displayID);
    4446#endif
    4547}
     
    6567#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    6668    DisplayRefreshMonitorManager::sharedManager()->windowScreenDidChange(displayID, this);
     69#else
     70    UNUSED_PARAM(displayID);
    6771#endif
    6872}
Note: See TracChangeset for help on using the changeset viewer.