Commit 5251d861 authored by haraken's avatar haraken Committed by Commit bot

Use a new Supplement constructor in DeviceOrientationController's hierarchy

We're deprecating the default constructor of Supplement.

BUG=610176

Review-Url: https://codereview.chromium.org/2615713006
Cr-Commit-Position: refs/heads/master@{#441920}
parent 0ff2bff5
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
namespace blink { namespace blink {
DeviceLightController::DeviceLightController(Document& document) DeviceLightController::DeviceLightController(Document& document)
: DeviceSingleWindowEventController(document) {} : DeviceSingleWindowEventController(document),
Supplement<Document>(document) {}
DeviceLightController::~DeviceLightController() {} DeviceLightController::~DeviceLightController() {}
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
namespace blink { namespace blink {
DeviceMotionController::DeviceMotionController(Document& document) DeviceMotionController::DeviceMotionController(Document& document)
: DeviceSingleWindowEventController(document) {} : DeviceSingleWindowEventController(document),
Supplement<Document>(document) {}
DeviceMotionController::~DeviceMotionController() {} DeviceMotionController::~DeviceMotionController() {}
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
namespace blink { namespace blink {
DeviceOrientationController::DeviceOrientationController(Document& document) DeviceOrientationController::DeviceOrientationController(Document& document)
: DeviceSingleWindowEventController(document) {} : DeviceSingleWindowEventController(document),
Supplement<Document>(document) {}
DeviceOrientationController::~DeviceOrientationController() {} DeviceOrientationController::~DeviceOrientationController() {}
......
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