Chromium Code Reviews| Index: Source/web/WebRuntimeFeatures.cpp |
| diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp |
| index da0480bcc7e770b079311b8450f43e76d9a87081..a5c0e8004b644bd1e1c1408f2d5cef71aa21fbb2 100644 |
| --- a/Source/web/WebRuntimeFeatures.cpp |
| +++ b/Source/web/WebRuntimeFeatures.cpp |
| @@ -82,6 +82,11 @@ void WebRuntimeFeatures::enableDeviceOrientation(bool enable) |
| RuntimeEnabledFeatures::setDeviceOrientationEnabled(enable); |
| } |
| +void WebRuntimeFeatures::enableDeviceLight(bool enable) |
| +{ |
| + RuntimeEnabledFeatures::setDeviceLightEnabled(enable); |
| +} |
|
abarth-chromium
2014/03/18 22:48:53
There's no need for this function. It should just
riju_
2014/03/19 12:28:13
Done.
|
| + |
| void WebRuntimeFeatures::enableDialogElement(bool enable) |
| { |
| RuntimeEnabledFeatures::setDialogElementEnabled(enable); |