Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 7e87254caae1c4c52dc40a8072df906cfa48c963..32358e8937abda2c39c8dc99cf10ccb6aa32beec 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -86,6 +86,10 @@ void SetMockGamepadProvider(RendererGamepadProvider* provider) { |
set_gamepad_provider(provider); |
} |
+void SetMockDeviceLightData(const double data) { |
+ RendererWebKitPlatformSupportImpl::SetMockDeviceLightDataForTesting(data); |
+} |
+ |
void SetMockDeviceMotionData(const WebDeviceMotionData& data) { |
RendererWebKitPlatformSupportImpl::SetMockDeviceMotionDataForTesting(data); |
} |