Unreviewed fix of DrawingArea creation on non-Mac platforms after r156793.
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Oct 2013 07:58:09 +0000 (07:58 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Oct 2013 07:58:09 +0000 (07:58 +0000)
std::make_unique<DrawingAreaImpl>() should be used, as before that revision.

* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::create):

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

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp

index e263e9c..7fa82b8 100644 (file)
@@ -1,3 +1,11 @@
+2013-10-03  Zan Dobersek  <zdobersek@igalia.com>
+
+        Unreviewed fix of DrawingArea creation on non-Mac platforms after r156793.
+        std::make_unique<DrawingAreaImpl>() should be used, as before that revision.
+
+        * WebProcess/WebPage/DrawingArea.cpp:
+        (WebKit::DrawingArea::create):
+
 2013-10-02  Anders Carlsson  <andersca@apple.com>
 
         Remove Qt code from Platform/
index 186ef46..9788e10 100644 (file)
@@ -48,7 +48,7 @@ std::unique_ptr<DrawingArea> DrawingArea::create(WebPage* webPage, const WebPage
         return std::make_unique<RemoteLayerTreeDrawingArea>(webPage, parameters);
 #else
     case DrawingAreaTypeImpl:
-        return DrawingAreaImpl::create(webPage, parameters);
+        return std::make_unique<DrawingAreaImpl>(webPage, parameters);
 #endif
     }