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: http://svn.webkit.org/repository/webkit/trunk@95945 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

index 5aef6d2..9b7e4f3 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 ecc57a2..74350be 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);