Unreviewed build fix after r239816.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2019 04:15:16 +0000 (04:15 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2019 04:15:16 +0000 (04:15 +0000)
Although EWS had no problem with the patch, I'm seeing build errors on the actual bots.
This patch corrects the problem.

* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::logFrameNavigation):
(WebKit::NetworkProcess::logUserInteraction):

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

Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/NetworkProcess.cpp

index ba2e5f0..f07f0b5 100644 (file)
@@ -1,5 +1,16 @@
 2019-01-09  Brent Fulgham  <bfulgham@apple.com>
 
+        Unreviewed build fix after r239816.
+
+        Although EWS had no problem with the patch, I'm seeing build errors on the actual bots.
+        This patch corrects the problem.
+
+        * NetworkProcess/NetworkProcess.cpp:
+        (WebKit::NetworkProcess::logFrameNavigation):
+        (WebKit::NetworkProcess::logUserInteraction):
+
+2019-01-09  Brent Fulgham  <bfulgham@apple.com>
+
         Create a WebResourceLoadStatisticsStore attached to the NetworkSession
         https://bugs.webkit.org/show_bug.cgi?id=193261
         <rdar://problem/47158616>
index 41a5811..0cd1524 100644 (file)
@@ -539,7 +539,7 @@ void NetworkProcess::grantStorageAccess(PAL::SessionID sessionID, const String&
 
 void NetworkProcess::logFrameNavigation(PAL::SessionID sessionID, const String& targetPrimaryDomain, const String& mainFramePrimaryDomain, const String& sourcePrimaryDomain, const String& targetHost, const String& mainFrameHost, bool isRedirect, bool isMainFrame)
 {
-    if (auto* networkSession = SessionTracker::networkSession(sessionID)) {
+    if (auto* networkSession = this->networkSession(sessionID)) {
         if (auto* resourceLoadStatistics = networkSession->resourceLoadStatistics())
             resourceLoadStatistics->logFrameNavigation(targetPrimaryDomain, mainFramePrimaryDomain, sourcePrimaryDomain, targetHost, mainFrameHost, isRedirect, isMainFrame);
     } else
@@ -548,7 +548,7 @@ void NetworkProcess::logFrameNavigation(PAL::SessionID sessionID, const String&
 
 void NetworkProcess::logUserInteraction(PAL::SessionID sessionID, const String& targetPrimaryDomain, uint64_t contextId)
 {
-    if (auto* networkSession = SessionTracker::networkSession(sessionID)) {
+    if (auto* networkSession = this->networkSession(sessionID)) {
         if (auto* resourceLoadStatistics = networkSession->resourceLoadStatistics()) {
             resourceLoadStatistics->logUserInteraction(targetPrimaryDomain, [this, contextId] {
                 parentProcessConnection()->send(Messages::NetworkProcessProxy::DidLogUserInteraction(contextId), 0);