| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| index 937f9dbfd2cfe58550c35ca15474d6f086f96492..895f7ea601600b34f25fdc040ed641af2341af47 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| @@ -115,9 +115,7 @@ ScreenOrientation* ScreenOrientation::create(LocalFrame* frame) {
|
| }
|
|
|
| ScreenOrientation::ScreenOrientation(LocalFrame* frame)
|
| - : DOMWindowProperty(frame),
|
| - m_type(WebScreenOrientationUndefined),
|
| - m_angle(0) {}
|
| + : ContextClient(frame), m_type(WebScreenOrientationUndefined), m_angle(0) {}
|
|
|
| ScreenOrientation::~ScreenOrientation() {}
|
|
|
| @@ -191,7 +189,7 @@ ScreenOrientationControllerImpl* ScreenOrientation::controller() {
|
|
|
| DEFINE_TRACE(ScreenOrientation) {
|
| EventTargetWithInlineData::trace(visitor);
|
| - DOMWindowProperty::trace(visitor);
|
| + ContextClient::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|