Changeset 143108 in webkit


Ignore:
Timestamp:
Feb 16, 2013 1:00:36 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Fix build warnings after r139853
https://bugs.webkit.org/show_bug.cgi?id=109929

Patch by Seokju Kwon <Seokju Kwon> on 2013-02-16
Reviewed by Alexey Proskuryakov.

Use UNUSED_PARAM macro to fix build warning -Wunused-parameter
when INSPECTOR is disabled.

No new tests, no behavior change.

  • inspector/InspectorInstrumentation.h:

(WebCore::InspectorInstrumentation::frameStartedLoading):
(WebCore::InspectorInstrumentation::frameStoppedLoading):
(WebCore::InspectorInstrumentation::frameScheduledNavigation):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143104 r143108  
     12013-02-16  Seokju Kwon  <seokju.kwon@gmail.com>
     2
     3        Fix build warnings after r139853
     4        https://bugs.webkit.org/show_bug.cgi?id=109929
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Use UNUSED_PARAM macro to fix build warning -Wunused-parameter
     9        when INSPECTOR is disabled.
     10
     11        No new tests, no behavior change.
     12
     13        * inspector/InspectorInstrumentation.h:
     14        (WebCore::InspectorInstrumentation::frameStartedLoading):
     15        (WebCore::InspectorInstrumentation::frameStoppedLoading):
     16        (WebCore::InspectorInstrumentation::frameScheduledNavigation):
     17        (WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
     18
    1192013-02-16  Sheriff Bot  <webkit.review.bot@gmail.com>
    220
  • trunk/Source/WebCore/inspector/InspectorInstrumentation.h

    r142975 r143108  
    16721672    if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
    16731673        frameStartedLoadingImpl(instrumentingAgents, frame);
     1674#else
     1675    UNUSED_PARAM(frame);
    16741676#endif
    16751677}
     
    16801682    if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
    16811683        frameStoppedLoadingImpl(instrumentingAgents, frame);
     1684#else
     1685    UNUSED_PARAM(frame);
    16821686#endif
    16831687}
     
    16881692    if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
    16891693        frameScheduledNavigationImpl(instrumentingAgents, frame, delay);
     1694#else
     1695    UNUSED_PARAM(frame);
     1696    UNUSED_PARAM(delay);
    16901697#endif
    16911698}
     
    16961703    if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
    16971704        frameClearedScheduledNavigationImpl(instrumentingAgents, frame);
     1705#else
     1706    UNUSED_PARAM(frame);
    16981707#endif
    16991708}
Note: See TracChangeset for help on using the changeset viewer.