Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h |
index 97f0d59ac5fd44e2f2ae4e0f219f3fc272b3eddf..b033d7976aa3f29a6ece9fe29dc1b3eea78d13a2 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h |
@@ -12,9 +12,10 @@ |
namespace blink { |
class DeviceOrientationData; |
+class DeviceOrientationDispatcher; |
class Event; |
-class MODULES_EXPORT DeviceOrientationController final : public DeviceSingleWindowEventController, public WillBeHeapSupplement<Document> { |
+class MODULES_EXPORT DeviceOrientationController : public DeviceSingleWindowEventController, public WillBeHeapSupplement<Document> { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationController); |
public: |
~DeviceOrientationController() override; |
@@ -31,9 +32,12 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
-private: |
+protected: |
explicit DeviceOrientationController(Document&); |
+ virtual DeviceOrientationDispatcher& dispatcherInstance() const; |
+ |
+private: |
// Inherited from DeviceEventControllerBase. |
void registerWithDispatcher() override; |
void unregisterWithDispatcher() override; |