Fix the iOS build, which no longer needs these calls
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 May 2014 02:46:03 +0000 (02:46 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 May 2014 02:46:03 +0000 (02:46 +0000)
to enter/exitFullscreen.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168081 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp

index a0ac75e..12a7bb6 100644 (file)
@@ -1,5 +1,13 @@
 2014-04-30  Simon Fraser  <simon.fraser@apple.com>
 
+        Fix the iOS build, which no longer needs these calls
+        to enter/exitFullscreen.
+
+        * html/HTMLMediaElement.cpp:
+        (WebCore::HTMLMediaElement::parseAttribute):
+
+2014-04-30  Simon Fraser  <simon.fraser@apple.com>
+
         Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
         https://bugs.webkit.org/show_bug.cgi?id=132396
 
index 520bade..8ff075a 100644 (file)
@@ -4832,10 +4832,6 @@ void HTMLMediaElement::enterFullscreen()
             document().page()->chrome().client().enterFullscreenForNode(this);
             scheduleEvent(eventNames().webkitbeginfullscreenEvent);
         }
-#if PLATFORM(IOS)
-        else if (m_player)
-            m_player->enterFullscreen();
-#endif
     }
 }
 
@@ -4862,10 +4858,6 @@ void HTMLMediaElement::exitFullscreen()
             document().page()->chrome().client().exitFullscreenForNode(this);
             scheduleEvent(eventNames().webkitendfullscreenEvent);
         }
-#if PLATFORM(IOS)
-        else if (m_player)
-            m_player->exitFullscreen();
-#endif
     }
 }