Unreviewed build fix for webkit builds after r95941.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Sep 2011 12:48:55 +0000 (12:48 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Sep 2011 12:48:55 +0000 (12:48 +0000)
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::willCallFunctionImpl):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95945 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorInstrumentation.cpp

index 5aef6d20a39154993293ae03f25c81918534494c..9b7e4f35115f01460d148ae241673110db6dca9b 100644 (file)
@@ -1,3 +1,10 @@
+2011-09-26  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Unreviewed build fix for webkit builds after r95941.
+
+        * inspector/InspectorInstrumentation.cpp:
+        (WebCore::InspectorInstrumentation::willCallFunctionImpl):
+
 2011-09-26  Andrey Kosyakov  <caseq@chromium.org>
 
         Web Inspector: [Extensions API] allow resources to hook on click on resource links
index ecc57a2a97bf6b85acee206597343c255c8a5778..74350be530ad4fb26f7f5a67bd74f6c581a15557 100644 (file)
@@ -222,11 +222,14 @@ void InspectorInstrumentation::didRemoveTimerImpl(InstrumentingAgents* instrumen
         timelineAgent->didRemoveTimer(timerId);
 }
 
-InspectorInstrumentationCookie InspectorInstrumentation::willCallFunctionImpl(InstrumentingAgents* instrumentingAgents, const String& scriptName, int scriptLine)
-{
 #if USE(JSC) // It is disabled for JSC see WK-BUG 40119
+InspectorInstrumentationCookie InspectorInstrumentation::willCallFunctionImpl(InstrumentingAgents*, const String&, int)
+{
     return InspectorInstrumentationCookie();
+}
 #else
+InspectorInstrumentationCookie InspectorInstrumentation::willCallFunctionImpl(InstrumentingAgents* instrumentingAgents, const String& scriptName, int scriptLine)
+{
     int timelineAgentId = 0;
     if (InspectorTimelineAgent* timelineAgent = instrumentingAgents->inspectorTimelineAgent()) {
         timelineAgent->willCallFunction(scriptName, scriptLine);