Changeset 262037 in webkit


Ignore:
Timestamp:
May 21, 2020 5:13:11 PM (4 years ago)
Author:
commit-queue@webkit.org
Message:

Fix misspelling -- m_releaseNetwrokActivityTimer --> m_releaseNetworkActivityTimer
https://bugs.webkit.org/show_bug.cgi?id=212237

Patch by Tyler Wilcock <Tyler Wilcock> on 2020-05-21
Reviewed by Simon Fraser.

No new tests required -- simply fixing a misspelling.

  • UIProcess/Cocoa/NavigationState.h: Rename m_releaseNetwrokActivityTimer to m_releaseNetworkActivityTimer
  • UIProcess/Cocoa/NavigationState.mm: Rename m_releaseNetwrokActivityTimer to m_releaseNetworkActivityTimer

(WebKit::NavigationState::NavigationState):
(WebKit::NavigationState::releaseNetworkActivity):
(WebKit::NavigationState::didChangeIsLoading):

Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r262035 r262037  
     12020-05-21  Tyler Wilcock  <twilco.o@protonmail.com>
     2
     3        Fix misspelling -- m_releaseNetwrokActivityTimer --> m_releaseNetworkActivityTimer
     4        https://bugs.webkit.org/show_bug.cgi?id=212237
     5
     6        Reviewed by Simon Fraser.
     7
     8        No new tests required -- simply fixing a misspelling.
     9
     10        * UIProcess/Cocoa/NavigationState.h: Rename m_releaseNetwrokActivityTimer to m_releaseNetworkActivityTimer
     11        * UIProcess/Cocoa/NavigationState.mm: Rename m_releaseNetwrokActivityTimer to m_releaseNetworkActivityTimer
     12        (WebKit::NavigationState::NavigationState):
     13        (WebKit::NavigationState::releaseNetworkActivity):
     14        (WebKit::NavigationState::didChangeIsLoading):
     15
    1162020-05-21  Sam Weinig  <weinig@apple.com>
    217
  • trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.h

    r260914 r262037  
    277277#if PLATFORM(IOS_FAMILY)
    278278    std::unique_ptr<ProcessThrottler::BackgroundActivity> m_networkActivity;
    279     RunLoop::Timer<NavigationState> m_releaseNetwrokActivityTimer;
     279    RunLoop::Timer<NavigationState> m_releaseNetworkActivityTimer;
    280280#endif
    281281};
  • trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.mm

    r261833 r262037  
    106106    , m_historyDelegateMethods()
    107107#if PLATFORM(IOS_FAMILY)
    108     , m_releaseNetwrokActivityTimer(RunLoop::current(), this, &NavigationState::releaseNetworkActivityAfterLoadCompletion)
     108    , m_releaseNetworkActivityTimer(RunLoop::current(), this, &NavigationState::releaseNetworkActivityAfterLoadCompletion)
    109109#endif
    110110{
     
    13221322    }
    13231323    m_networkActivity = nullptr;
    1324     m_releaseNetwrokActivityTimer.stop();
     1324    m_releaseNetworkActivityTimer.stop();
    13251325}
    13261326#endif
     
    13341334            return;
    13351335
    1336         if (m_releaseNetwrokActivityTimer.isActive()) {
     1336        if (m_releaseNetworkActivityTimer.isActive()) {
    13371337            RELEASE_LOG_IF(m_webView->_page->isAlwaysOnLoggingAllowed(), ProcessSuspension, "%p - NavigationState keeps its process network assertion because a new page load started", this);
    1338             m_releaseNetwrokActivityTimer.stop();
     1338            m_releaseNetworkActivityTimer.stop();
    13391339        }
    13401340        if (!m_networkActivity) {
     
    13461346        // before suspending the WebContent process <rdar://problem/27910964>.
    13471347        RELEASE_LOG_IF(m_webView->_page->isAlwaysOnLoggingAllowed(), ProcessSuspension, "%p - NavigationState will release its process network assertion soon because the page load completed", this);
    1348         m_releaseNetwrokActivityTimer.startOneShot(3_s);
     1348        m_releaseNetworkActivityTimer.startOneShot(3_s);
    13491349    }
    13501350#endif
Note: See TracChangeset for help on using the changeset viewer.