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

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp

Issue 2592823003: Replace the remaining DOMWindowProperty with ContextClient (Closed)
Patch Set: Created 4 years 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: 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

Powered by Google App Engine
This is Rietveld 408576698