2011-03-30 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Mar 2011 07:39:24 +0000 (07:39 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Mar 2011 07:39:24 +0000 (07:39 +0000)
        Not reviewed trivial change.

        Web Inspector: Remove unnecessary function arguments after r82281.
        https://bugs.webkit.org/show_bug.cgi?id=57327

        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::didCommitLoad):
        (WebCore::InspectorAgent::domContentLoadedEventFired):
        * inspector/InspectorAgent.h:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl):
        (WebCore::InspectorInstrumentation::didCommitLoadImpl):

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

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

index 901423b434c657c4bcc9f03285eaac35778cabc2..f5806b25e2d6d571e428e233472d94755df805c5 100644 (file)
@@ -1,3 +1,18 @@
+2011-03-30  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Not reviewed trivial change.
+
+        Web Inspector: Remove unnecessary function arguments after r82281.
+        https://bugs.webkit.org/show_bug.cgi?id=57327
+
+        * inspector/InspectorAgent.cpp:
+        (WebCore::InspectorAgent::didCommitLoad):
+        (WebCore::InspectorAgent::domContentLoadedEventFired):
+        * inspector/InspectorAgent.h:
+        * inspector/InspectorInstrumentation.cpp:
+        (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl):
+        (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+
 2011-03-30  Kent Tamura  <tkent@chromium.org>
 
         Reviewed by Ojan Vafai.
index 84af1c9cbb6fa06a8fab10e9ddc3b9830dcdddb6..426c5f2ba5f099ce4b7c6c9a4aac94e4f6952551 100644 (file)
@@ -282,7 +282,7 @@ void InspectorAgent::releaseFrontendLifetimeAgents()
     m_runtimeAgent.clear();
 }
 
-void InspectorAgent::didCommitLoad(DocumentLoader*)
+void InspectorAgent::didCommitLoad()
 {
     if (m_frontend)
         m_frontend->inspector()->reset();
@@ -293,7 +293,7 @@ void InspectorAgent::didCommitLoad(DocumentLoader*)
 #endif
 }
 
-void InspectorAgent::domContentLoadedEventFired(DocumentLoader*, const KURL&)
+void InspectorAgent::domContentLoadedEventFired()
 {
     m_injectedScriptManager->injectedScriptHost()->clearInspectedNodes();
 }
index c52d159e6971ba2d09f4d4bbcc54e2594b0f5711..cda91377b5113b1876a8d563736cc049ec677fb9 100644 (file)
@@ -142,9 +142,8 @@ public:
 
     void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*);
 
-    void didCommitLoad(DocumentLoader*);
-
-    void domContentLoadedEventFired(DocumentLoader*, const KURL&);
+    void didCommitLoad();
+    void domContentLoadedEventFired();
 
 #if ENABLE(WORKERS)
     enum WorkerAction { WorkerCreated, WorkerDestroyed };
index 7f637ddad1a86d514255fa3b4fd4b68cc82f57c6..6d3b4adff8455cde314393673d079f7c0ff77ecf 100644 (file)
@@ -501,7 +501,7 @@ void InspectorInstrumentation::domContentLoadedEventFiredImpl(InspectorAgent* in
     if (frame->page()->mainFrame() != frame || url != documentLoader->requestURL())
         return;
 
-    inspectorAgent->domContentLoadedEventFired(documentLoader, url);
+    inspectorAgent->domContentLoadedEventFired();
 
     if (InspectorDOMAgent* domAgent = inspectorAgent->instrumentingAgents()->inspectorDOMAgent())
         domAgent->mainFrameDOMContentLoaded();
@@ -580,7 +580,7 @@ void InspectorInstrumentation::didCommitLoadImpl(Page* page, InspectorAgent* ins
     if (InspectorPageAgent* pageAgent = instrumentingAgents->inspectorPageAgent())
         pageAgent->inspectedURLChanged(loader->url().string());
 
-    inspectorAgent->didCommitLoad(loader);
+    inspectorAgent->didCommitLoad();
 }
 
 InspectorInstrumentationCookie InspectorInstrumentation::willWriteHTMLImpl(InspectorAgent* inspectorAgent, unsigned int length, unsigned int startLine)