Changeset 135945 in webkit


Ignore:
Timestamp:
Nov 27, 2012, 4:42:25 PM (12 years ago)
Author:
dino@apple.com
Message:

Attempted build fix for my last commit. The private member variable
is only used on MAC (at the moment) so guard it with #if PLATFORM.
I did this rather than having another constructor, because I expect
other platforms will follow the MAC code soon.

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement):

  • html/shadow/MediaControlElements.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r135941 r135945  
     12012-11-27  Dean Jackson  <dino@apple.com>
     2
     3        Attempted build fix for my last commit. The private member variable
     4        is only used on MAC (at the moment) so guard it with #if PLATFORM.
     5        I did this rather than having another constructor, because I expect
     6        other platforms will follow the MAC code soon.
     7
     8        * html/shadow/MediaControlElements.cpp:
     9        (WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement):
     10        * html/shadow/MediaControlElements.h:
     11
    1122012-11-14  Jer Noble  <jer.noble@apple.com>
    213
  • trunk/Source/WebCore/html/shadow/MediaControlElements.cpp

    r135934 r135945  
    912912inline MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement(Document* document, MediaControls* controls)
    913913    : MediaControlInputElement(document, MediaShowClosedCaptionsButton)
     914#if PLATFORM(MAC)
    914915    , m_controls(controls)
    915 {
     916#endif
     917{
     918#if !PLATFORM(MAC)
     919    UNUSED_PARAM(controls);
     920#endif
    916921}
    917922
  • trunk/Source/WebCore/html/shadow/MediaControlElements.h

    r135934 r135945  
    394394    virtual const AtomicString& shadowPseudoId() const;
    395395
     396#if PLATFORM(MAC)
    396397    MediaControls* m_controls;
     398#endif
    397399};
    398400
Note: See TracChangeset for help on using the changeset viewer.