Title: [143108] trunk/Source/WebCore
- Revision
- 143108
- Author
- [email protected]
- Date
- 2013-02-16 13:00:36 -0800 (Sat, 16 Feb 2013)
Log Message
Fix build warnings after r139853
https://bugs.webkit.org/show_bug.cgi?id=109929
Patch by Seokju Kwon <[email protected]> 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (143107 => 143108)
--- trunk/Source/WebCore/ChangeLog 2013-02-16 20:07:05 UTC (rev 143107)
+++ trunk/Source/WebCore/ChangeLog 2013-02-16 21:00:36 UTC (rev 143108)
@@ -1,3 +1,21 @@
+2013-02-16 Seokju Kwon <[email protected]>
+
+ Fix build warnings after r139853
+ https://bugs.webkit.org/show_bug.cgi?id=109929
+
+ 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):
+
2013-02-16 Sheriff Bot <[email protected]>
Unreviewed, rolling out r142734.
Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.h (143107 => 143108)
--- trunk/Source/WebCore/inspector/InspectorInstrumentation.h 2013-02-16 20:07:05 UTC (rev 143107)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.h 2013-02-16 21:00:36 UTC (rev 143108)
@@ -1671,6 +1671,8 @@
#if ENABLE(INSPECTOR)
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
frameStartedLoadingImpl(instrumentingAgents, frame);
+#else
+ UNUSED_PARAM(frame);
#endif
}
@@ -1679,6 +1681,8 @@
#if ENABLE(INSPECTOR)
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
frameStoppedLoadingImpl(instrumentingAgents, frame);
+#else
+ UNUSED_PARAM(frame);
#endif
}
@@ -1687,6 +1691,9 @@
#if ENABLE(INSPECTOR)
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
frameScheduledNavigationImpl(instrumentingAgents, frame, delay);
+#else
+ UNUSED_PARAM(frame);
+ UNUSED_PARAM(delay);
#endif
}
@@ -1695,6 +1702,8 @@
#if ENABLE(INSPECTOR)
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
frameClearedScheduledNavigationImpl(instrumentingAgents, frame);
+#else
+ UNUSED_PARAM(frame);
#endif
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes