Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 3c43e8bc138fa4cf0f54cbad806d6c8c061dc842..7e87254caae1c4c52dc40a8072df906cfa48c963 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -81,16 +81,9 @@ void EnableWebTestProxyCreation( |
RenderFrameImpl::InstallCreateHook(CreateWebFrameTestProxy); |
} |
-void SetMockGamepads(const WebGamepads& pads) { |
- RendererWebKitPlatformSupportImpl::SetMockGamepadsForTesting(pads); |
-} |
- |
-void MockGamepadConnected(int index, const WebGamepad& pad) { |
- RendererWebKitPlatformSupportImpl::MockGamepadConnected(index, pad); |
-} |
- |
-void MockGamepadDisconnected(int index, const WebGamepad& pad) { |
- RendererWebKitPlatformSupportImpl::MockGamepadDisconnected(index, pad); |
+void SetMockGamepadProvider(RendererGamepadProvider* provider) { |
+ RenderThreadImpl::current()->webkit_platform_support()-> |
+ set_gamepad_provider(provider); |
} |
void SetMockDeviceMotionData(const WebDeviceMotionData& data) { |