Changeset 161746 in webkit


Ignore:
Timestamp:
Jan 10, 2014, 10:41:35 PM (12 years ago)
Author:
Joseph Pecoraro
Message:

Fix HTMLMediaElement.o for iOS. Unreviewed build fix.

There is now local variable mediaElement. Just call the
functions since they are methods on this class.

Fix RequireUserGestureToShowPlaybackTargetPickerRestriction typos.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::parseAttribute):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r161744 r161746  
     12014-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
    1132014-01-10  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r161481 r161746  
    2121 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    2222 * (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.
    2424 */
    2525
     
    366366        addBehaviorRestriction(RequireUserGestureForRateChangeRestriction);
    367367#if ENABLE(IOS_AIRPLAY)
    368         addBehaviorRestriction(RequireUserGestureToShowPlaybackTargetPicker);
     368        addBehaviorRestriction(RequireUserGestureToShowPlaybackTargetPickerRestriction);
    369369#endif
    370370    }
     
    47224722void HTMLMediaElement::updateWidget(PluginCreationOption)
    47234723{
    4724     mediaElement->setNeedWidgetUpdate(false);
    4725 
     4724    setNeedWidgetUpdate(false);
     4725
     4726    // FIXME: What if document().frame() is 0?
     4727
     4728    URL url;
    47264729    Vector<String> paramNames;
    47274730    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);
    47334733    SubframeLoader& loader = document().frame()->loader().subframeLoader();
    4734     loader.loadMediaPlayerProxyPlugin(*mediaElement, kurl, paramNames, paramValues);
     4734    loader.loadMediaPlayerProxyPlugin(*this, url, paramNames, paramValues);
    47354735}
    47364736
  • trunk/Source/WebCore/html/HTMLMediaElement.h

    r161481 r161746  
    2121 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    2222 * (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.
    2424 */
    2525
     
    452452        RequirePageConsentToResumeMediaRestriction = 1 << 4,
    453453#if ENABLE(IOS_AIRPLAY)
    454         RequireUserGestureToShowPlaybackTargetPicker = 1 << 5,
     454        RequireUserGestureToShowPlaybackTargetPickerRestriction = 1 << 5,
    455455#endif
    456456    };
     
    463463    bool pageConsentRequiredForResume() const { return m_restrictions & RequirePageConsentToResumeMediaRestriction; }
    464464#if ENABLE(IOS_AIRPLAY)
    465     bool userGestureRequiredToShowPlaybackTargetPicker() const { return m_restrictions & RequireUserGestureToShowPlaybackTargetPicker; }
     465    bool userGestureRequiredToShowPlaybackTargetPicker() const { return m_restrictions & RequireUserGestureToShowPlaybackTargetPickerRestriction; }
    466466#endif
    467467   
Note: See TracChangeset for help on using the changeset viewer.