Example #1
0
// static
Gyroscope* Gyroscope::create(ExecutionContext* executionContext,
                             ExceptionState& exceptionState) {
  return create(executionContext, SensorOptions(), exceptionState);
}
Example #2
0
// static
AmbientLightSensor* AmbientLightSensor::create(ScriptState* scriptState,
                                               ExceptionState& exceptionState) {
  return create(scriptState, SensorOptions(), exceptionState);
}