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

Changeset 167197 in webkit


Ignore:
Timestamp:
Apr 13, 2014, 7:59:41 AM (12 years ago)
Author:
zandobersek@gmail.com
Message:

Unreviewed build fix after r167196.

  • platform/RemoteCommandListener.cpp:

(WebCore::RemoteCommandListener::create): Fall back to using the new operator
for allocating RemoteCommandListener object. Using std::make_unique() requires
for the operator to be public, which doesn't work well with the static create()
method.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167196 r167197  
     12014-04-13  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        Unreviewed build fix after r167196.
     4
     5        * platform/RemoteCommandListener.cpp:
     6        (WebCore::RemoteCommandListener::create): Fall back to using the new operator
     7        for allocating RemoteCommandListener object. Using std::make_unique() requires
     8        for the operator to be public, which doesn't work well with the static create()
     9        method.
     10
    1112014-04-13  Zan Dobersek  <zdobersek@igalia.com>
    212
  • trunk/Source/WebCore/platform/RemoteCommandListener.cpp

    r167196 r167197  
    3232std::unique_ptr<RemoteCommandListener> RemoteCommandListener::create(RemoteCommandListenerClient& client)
    3333{
    34     return std::make_unique<RemoteCommandListener>(client);
     34    return std::unique_ptr<RemoteCommandListener>(new RemoteCommandListener(client));
    3535}
    3636#endif
Note: See TracChangeset for help on using the changeset viewer.