Cleanup WK2 platform gamepad handling.
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebProcess.cpp
index 14ad79d..208b6e6 100644 (file)
@@ -1030,6 +1030,11 @@ void WebProcess::mainThreadPing()
 
 #if ENABLE(GAMEPAD)
 
+void WebProcess::setInitialGamepads(const Vector<WebKit::GamepadData>& gamepadDatas)
+{
+    WebGamepadProvider::singleton().setInitialGamepads(gamepadDatas);
+}
+
 void WebProcess::gamepadConnected(const GamepadData& gamepadData)
 {
     WebGamepadProvider::singleton().gamepadConnected(gamepadData);