Changeset 161746 in webkit
- Timestamp:
- Jan 10, 2014, 10:41:35 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r161744 r161746 1 2014-01-10 Joseph Pecoraro <pecoraro@apple.com> 2 3 Fix HTMLMediaElement.o for iOS. Unreviewed build fix. 4 5 There is now local variable mediaElement. Just call the 6 functions since they are methods on this class. 7 8 Fix RequireUserGestureToShowPlaybackTargetPickerRestriction typos. 9 10 * html/HTMLMediaElement.cpp: 11 (WebCore::HTMLMediaElement::parseAttribute): 12 1 13 2014-01-10 Anders Carlsson <andersca@apple.com> 2 14 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r161481 r161746 21 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 24 */ 25 25 … … 366 366 addBehaviorRestriction(RequireUserGestureForRateChangeRestriction); 367 367 #if ENABLE(IOS_AIRPLAY) 368 addBehaviorRestriction(RequireUserGestureToShowPlaybackTargetPicker );368 addBehaviorRestriction(RequireUserGestureToShowPlaybackTargetPickerRestriction); 369 369 #endif 370 370 } … … 4722 4722 void HTMLMediaElement::updateWidget(PluginCreationOption) 4723 4723 { 4724 mediaElement->setNeedWidgetUpdate(false); 4725 4724 setNeedWidgetUpdate(false); 4725 4726 // FIXME: What if document().frame() is 0? 4727 4728 URL url; 4726 4729 Vector<String> paramNames; 4727 4730 Vector<String> paramValues; 4728 // FIXME: Rename kurl to something more sensible. 4729 URL kurl; 4730 4731 mediaElement->getPluginProxyParams(kurl, paramNames, paramValues); 4732 // FIXME: What if document().frame() is 0? 4731 4732 getPluginProxyParams(url, paramNames, paramValues); 4733 4733 SubframeLoader& loader = document().frame()->loader().subframeLoader(); 4734 loader.loadMediaPlayerProxyPlugin(* mediaElement, kurl, paramNames, paramValues);4734 loader.loadMediaPlayerProxyPlugin(*this, url, paramNames, paramValues); 4735 4735 } 4736 4736 -
trunk/Source/WebCore/html/HTMLMediaElement.h
r161481 r161746 21 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 24 */ 25 25 … … 452 452 RequirePageConsentToResumeMediaRestriction = 1 << 4, 453 453 #if ENABLE(IOS_AIRPLAY) 454 RequireUserGestureToShowPlaybackTargetPicker = 1 << 5,454 RequireUserGestureToShowPlaybackTargetPickerRestriction = 1 << 5, 455 455 #endif 456 456 }; … … 463 463 bool pageConsentRequiredForResume() const { return m_restrictions & RequirePageConsentToResumeMediaRestriction; } 464 464 #if ENABLE(IOS_AIRPLAY) 465 bool userGestureRequiredToShowPlaybackTargetPicker() const { return m_restrictions & RequireUserGestureToShowPlaybackTargetPicker ; }465 bool userGestureRequiredToShowPlaybackTargetPicker() const { return m_restrictions & RequireUserGestureToShowPlaybackTargetPickerRestriction; } 466 466 #endif 467 467
Note:
See TracChangeset
for help on using the changeset viewer.