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

Unified Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp
diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp
index b6f4ab8ff80bd3d25fff272a1db1151047b8a84e..b2fec921133c5f93724b7421ce0bdcd27e2c15f5 100644
--- a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp
+++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp
@@ -64,8 +64,6 @@ class DummyScreenOrientationCallback : public WebLockOrientationCallback {
MediaControlsOrientationLockDelegate::MediaControlsOrientationLockDelegate(
HTMLVideoElement& video)
: EventListener(kCPPEventListenerType), video_element_(video) {
- if (VideoElement().isConnected())
- Attach();
mlamouri (slow - plz ping) 2017/04/19 17:10:46 debugging code?
johnme 2017/04/19 18:21:28 No - it turns out this is redundant, and leads to
}
void MediaControlsOrientationLockDelegate::Attach() {

Powered by Google App Engine
This is Rietveld 408576698