Unreviewed build fix after r167196.
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Apr 2014 14:59:41 +0000 (14:59 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Apr 2014 14:59:41 +0000 (14:59 +0000)
* 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.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/RemoteCommandListener.cpp

index 4327957..de340b1 100644 (file)
@@ -1,5 +1,15 @@
 2014-04-13  Zan Dobersek  <zdobersek@igalia.com>
 
+        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.
+
+2014-04-13  Zan Dobersek  <zdobersek@igalia.com>
+
         Remove unnecessary uses of std::move() in return statements
         https://bugs.webkit.org/show_bug.cgi?id=131457
 
index 7c5553f..68e4652 100644 (file)
@@ -31,7 +31,7 @@ namespace WebCore {
 #if !PLATFORM(IOS)
 std::unique_ptr<RemoteCommandListener> RemoteCommandListener::create(RemoteCommandListenerClient& client)
 {
-    return std::make_unique<RemoteCommandListener>(client);
+    return std::unique_ptr<RemoteCommandListener>(new RemoteCommandListener(client));
 }
 #endif