[GTK] Remove GamepadDeviceGtk::create()
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Dec 2014 09:58:39 +0000 (09:58 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Dec 2014 09:58:39 +0000 (09:58 +0000)
commitb204d465007033fe7ea3d1ce57a4934c7484b9fe
tree8d560e040567b04482bee7049d48fd18125906e2
parentbdb6e7b80d6dd89864ee1b9fafc92fe9de91967c
[GTK] Remove GamepadDeviceGtk::create()
https://bugs.webkit.org/show_bug.cgi?id=139637

Reviewed by Carlos Garcia Campos.

std::make_unique<> can replace GamepadDeviceGtk::create() factory function.

* platform/gtk/GamepadsGtk.cpp: Add "explicit" to GamepadsGtk constructor.
(WebCore::GamepadsGtk::registerDevice):
(WebCore::GamepadDeviceGtk::create): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/gtk/GamepadsGtk.cpp