Commit c4bd7a6d authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

AmbientLightSensor: Remove unnecessary Trace() override.

This method is just calling its parent's implementation, so there is no need
for it.

Change-Id: I32bcab5f4f9af63947b3fff87fb276a321845ef5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851708
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: default avatarRijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704680}
parent 3035e735
...@@ -42,8 +42,4 @@ double AmbientLightSensor::illuminance(bool& is_null) const { ...@@ -42,8 +42,4 @@ double AmbientLightSensor::illuminance(bool& is_null) const {
return GetReading().als.value; return GetReading().als.value;
} }
void AmbientLightSensor::Trace(blink::Visitor* visitor) {
Sensor::Trace(visitor);
}
} // namespace blink } // namespace blink
...@@ -21,8 +21,6 @@ class AmbientLightSensor final : public Sensor { ...@@ -21,8 +21,6 @@ class AmbientLightSensor final : public Sensor {
AmbientLightSensor(ExecutionContext*, const SensorOptions*, ExceptionState&); AmbientLightSensor(ExecutionContext*, const SensorOptions*, ExceptionState&);
double illuminance(bool& is_null) const; double illuminance(bool& is_null) const;
void Trace(blink::Visitor*) override;
}; };
} // namespace blink } // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment