⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245987 in webkit


Ignore:
Timestamp:
May 31, 2019, 2:56:37 PM (7 years ago)
Author:
ggaren@apple.com
Message:

Some WeakPtr typedef cleanup
https://bugs.webkit.org/show_bug.cgi?id=198431

Reviewed by Chris Dumez.

Use "using" instead of "typedef", since using is preferred in C++ for
better compatibility with templates.

Source/WebCore:

  • Modules/indexeddb/shared/InProcessIDBServer.h:
  • html/HTMLMediaElement.h:
  • platform/ScrollView.h:

Source/WebKit:

  • UIProcess/WebAuthentication/AuthenticatorManager.h:
Location:
trunk/Source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r245980 r245987  
     12019-05-31  Geoffrey Garen  <ggaren@apple.com>
     2
     3        Some WeakPtr typedef cleanup
     4        https://bugs.webkit.org/show_bug.cgi?id=198431
     5
     6        Reviewed by Chris Dumez.
     7
     8        Use "using" instead of "typedef", since using is preferred in C++ for
     9        better compatibility with templates.
     10
     11        * Modules/indexeddb/shared/InProcessIDBServer.h:
     12        * html/HTMLMediaElement.h:
     13        * platform/ScrollView.h:
     14
    1152019-05-31  Andres Gonzalez  <andresg_22@apple.com>
    216
  • trunk/Source/WebCore/Modules/indexeddb/shared/InProcessIDBServer.h

    r245972 r245987  
    5555public:
    5656    using IDBClient::IDBConnectionToServerDelegate::weakPtrFactory;
    57     typedef IDBClient::IDBConnectionToServerDelegate::WeakValueType WeakValueType;
     57    using WeakValueType = IDBClient::IDBConnectionToServerDelegate::WeakValueType;
    5858
    5959    WEBCORE_EXPORT static Ref<InProcessIDBServer> create(PAL::SessionID);
  • trunk/Source/WebCore/html/HTMLMediaElement.h

    r245868 r245987  
    150150    WTF_MAKE_ISO_ALLOCATED(HTMLMediaElement);
    151151public:
    152     typedef HTMLElement::WeakValueType WeakValueType;
     152    using WeakValueType = HTMLElement::WeakValueType;
    153153    using HTMLElement::weakPtrFactory;
    154154
  • trunk/Source/WebCore/platform/ScrollView.h

    r245868 r245987  
    6666    virtual ~ScrollView();
    6767
    68     typedef Widget::WeakValueType WeakValueType;
     68    using WeakValueType = Widget::WeakValueType;
    6969    using Widget::weakPtrFactory;
    7070
  • trunk/Source/WebKit/ChangeLog

    r245984 r245987  
     12019-05-31  Geoffrey Garen  <ggaren@apple.com>
     2
     3        Some WeakPtr typedef cleanup
     4        https://bugs.webkit.org/show_bug.cgi?id=198431
     5
     6        Reviewed by Chris Dumez.
     7
     8        Use "using" instead of "typedef", since using is preferred in C++ for
     9        better compatibility with templates.
     10
     11        * UIProcess/WebAuthentication/AuthenticatorManager.h:
     12
    1132019-05-31  Commit Queue  <commit-queue@webkit.org>
    214
  • trunk/Source/WebKit/UIProcess/WebAuthentication/AuthenticatorManager.h

    r245868 r245987  
    5050
    5151    using AuthenticatorTransportService::Observer::weakPtrFactory;
    52     typedef AuthenticatorTransportService::Observer::WeakValueType WeakValueType;
     52    using WeakValueType = AuthenticatorTransportService::Observer::WeakValueType;
    5353
    5454    AuthenticatorManager();
Note: See TracChangeset for help on using the changeset viewer.