| Index: Source/modules/screen_orientation/ScreenOrientation.h
|
| diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
|
| index a6cc3f9e3034dddf56da7429f9df6b2ee6aafe51..58943495c28b10bbb1d7a781f1f142afb582e84c 100644
|
| --- a/Source/modules/screen_orientation/ScreenOrientation.h
|
| +++ b/Source/modules/screen_orientation/ScreenOrientation.h
|
| @@ -19,20 +19,20 @@ class Screen;
|
|
|
| class ScreenOrientation FINAL : public Supplement<Screen>, DOMWindowProperty {
|
| public:
|
| - static ScreenOrientation* from(Screen*);
|
| + static ScreenOrientation& from(Screen&);
|
| virtual ~ScreenOrientation();
|
|
|
| DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(orientationchange);
|
|
|
| - static const AtomicString& orientation(Screen*);
|
| - static bool lockOrientation(Screen*, const Vector<String>& orientations);
|
| - static bool lockOrientation(Screen*, const AtomicString& orientation);
|
| - static void unlockOrientation(Screen*);
|
| + static const AtomicString& orientation(Screen&);
|
| + static bool lockOrientation(Screen&, const Vector<String>& orientations);
|
| + static bool lockOrientation(Screen&, const AtomicString& orientation);
|
| + static void unlockOrientation(Screen&);
|
|
|
| private:
|
| - explicit ScreenOrientation(Screen*);
|
| + explicit ScreenOrientation(Screen&);
|
| static const char* supplementName();
|
| - Document* document() const;
|
| + Document& document() const;
|
| };
|
|
|
| } // namespace WebCore
|
|
|