Changeset 242310 in webkit


Ignore:
Timestamp:
Mar 2, 2019 8:28:46 AM (5 years ago)
Author:
Michael Catanzaro
Message:

Remove unused WebPageProxy::m_navigationID
https://bugs.webkit.org/show_bug.cgi?id=195209

Reviewed by Darin Adler.

WebPageProxy::m_navigationID is never assigned to and is only used once by mistake in a
debug LOG(). It must be a refactoring mistake.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didCommitLoadForFrame):

  • UIProcess/WebPageProxy.h:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r242308 r242310  
     12019-03-02  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        Remove unused WebPageProxy::m_navigationID
     4        https://bugs.webkit.org/show_bug.cgi?id=195209
     5
     6        Reviewed by Darin Adler.
     7
     8        WebPageProxy::m_navigationID is never assigned to and is only used once by mistake in a
     9        debug LOG(). It must be a refactoring mistake.
     10
     11        * UIProcess/WebPageProxy.cpp:
     12        (WebKit::WebPageProxy::didCommitLoadForFrame):
     13        * UIProcess/WebPageProxy.h:
     14
    1152019-03-01  Darin Adler  <darin@apple.com>
    216
  • trunk/Source/WebKit/UIProcess/WebPageProxy.cpp

    r242288 r242310  
    40584058void WebPageProxy::didCommitLoadForFrame(uint64_t frameID, uint64_t navigationID, const String& mimeType, bool frameHasCustomContentProvider, uint32_t opaqueFrameLoadType, const WebCore::CertificateInfo& certificateInfo, bool containsPluginDocument, Optional<HasInsecureContent> hasInsecureContent, const UserData& userData)
    40594059{
    4060     LOG(Loading, "(Loading) WebPageProxy %" PRIu64 " didCommitLoadForFrame in navigation %" PRIu64, m_pageID, m_navigationID);
     4060    LOG(Loading, "(Loading) WebPageProxy %" PRIu64 " didCommitLoadForFrame in navigation %" PRIu64, m_pageID, navigationID);
    40614061    LOG(BackForward, "(Back/Forward) After load commit, back/forward list is now:%s", m_backForwardList->loggingString());
    40624062    RELEASE_LOG_IF_ALLOWED(Loading, "didCommitLoadForFrame: webPID = %i, pageID = %" PRIu64 ", frameID = %" PRIu64, m_process->processIdentifier(), m_pageID, frameID);
  • trunk/Source/WebKit/UIProcess/WebPageProxy.h

    r242222 r242310  
    23132313    Optional<WebCore::ScrollbarOverlayStyle> m_scrollbarOverlayStyle;
    23142314
    2315     uint64_t m_navigationID { 0 };
    23162315    ActivityStateChangeID m_currentActivityStateChangeID { ActivityStateChangeAsynchronous };
    23172316
Note: See TracChangeset for help on using the changeset viewer.