Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1607)

Unified Diff: Source/modules/device_orientation/DeviceOrientationController.h

Issue 256593010: Gracefully support Navigator Gamepad methods in a detached state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have document supplements keep a reference to their document Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/device_orientation/DeviceOrientationController.h
diff --git a/Source/modules/device_orientation/DeviceOrientationController.h b/Source/modules/device_orientation/DeviceOrientationController.h
index 86103ec0531d7a9c7f4cab96893ec3daf1bd012c..e0d3fde024ad05416d31e1ee82e49a3b9f1184d1 100644
--- a/Source/modules/device_orientation/DeviceOrientationController.h
+++ b/Source/modules/device_orientation/DeviceOrientationController.h
@@ -64,8 +64,10 @@ private:
virtual bool hasLastData() OVERRIDE;
virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE;
virtual bool isNullEvent(Event*) OVERRIDE;
+ virtual Document* document() OVERRIDE;
RefPtrWillBePersistent<DeviceOrientationData> m_overrideOrientationData;
+ Document& m_document;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698