Changeset 155525 in webkit


Ignore:
Timestamp:
Sep 11, 2013 7:26:41 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Win] Compile error when VIDEO is not enabled.
https://bugs.webkit.org/show_bug.cgi?id=121156

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-09-11
Reviewed by Andreas Kling.

  • WebView.cpp:

(WebView::enterFullscreenForNode): Protect isHTMLVideoElement() function with ENABLE(VIDEO) guard.

Location:
trunk/Source/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/win/ChangeLog

    r155507 r155525  
     12013-09-11  peavo@outlook.com  <peavo@outlook.com>
     2
     3        [Win] Compile error when VIDEO is not enabled.
     4        https://bugs.webkit.org/show_bug.cgi?id=121156
     5
     6        Reviewed by Andreas Kling.
     7
     8        * WebView.cpp:
     9        (WebView::enterFullscreenForNode): Protect isHTMLVideoElement() function with ENABLE(VIDEO) guard.
     10
    1112013-09-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    212
  • trunk/Source/WebKit/win/WebView.cpp

    r155512 r155525  
    62586258void WebView::enterFullscreenForNode(Node* node)
    62596259{
     6260#if ENABLE(VIDEO)
    62606261    if (!isHTMLVideoElement(node) || !node->isElementNode())
    62616262        return;
    62626263
    6263 #if ENABLE(VIDEO)
    62646264    if (!toElement(node)->isMediaElement())
    62656265        return;
Note: See TracChangeset for help on using the changeset viewer.