Changeset 145347 in webkit


Ignore:
Timestamp:
Mar 11, 2013 2:40:08 AM (11 years ago)
Author:
silviapf@chromium.org
Message:

[Chromium] REGRESSION: Closed Captions button not showing properly
https://bugs.webkit.org/show_bug.cgi?id=109871

Reviewed by Jer Noble.

No new tests - covered by existing tests.

Most of the patch was in the meantime covered by a patch to
https://bugs.webkit.org/show_bug.cgi?id=111109 .
This changes a static Chromium-only function name to be consistent with
parent class function names.

  • rendering/RenderMediaControlsChromium.cpp:

(WebCore::paintMediaToggleClosedCaptionsButton):
(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):
Rename paintMediaClosedCaptionsButton to paintMediaToggleClosedCaptionsButton.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r145346 r145347  
     12013-03-11  Silvia Pfeiffer  <silviapf@chromium.org>
     2
     3        [Chromium] REGRESSION: Closed Captions button not showing properly
     4        https://bugs.webkit.org/show_bug.cgi?id=109871
     5
     6        Reviewed by Jer Noble.
     7
     8        No new tests - covered by existing tests.
     9
     10        Most of the patch was in the meantime covered by a patch to
     11        https://bugs.webkit.org/show_bug.cgi?id=111109 .
     12        This changes a static Chromium-only function name to be consistent with
     13        parent class function names.
     14
     15        * rendering/RenderMediaControlsChromium.cpp:
     16        (WebCore::paintMediaToggleClosedCaptionsButton):
     17        (WebCore::RenderMediaControlsChromium::paintMediaControlsPart):
     18        Rename paintMediaClosedCaptionsButton to paintMediaToggleClosedCaptionsButton.
     19
    1202013-03-11  Tim Horton  <timothy_horton@apple.com>
    221
  • trunk/Source/WebCore/rendering/RenderMediaControlsChromium.cpp

    r143232 r145347  
    328328}
    329329
    330 static bool paintMediaClosedCaptionsButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
     330static bool paintMediaToggleClosedCaptionsButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
    331331{
    332332    HTMLMediaElement* mediaElement = toParentMediaElement(object);
     
    354354        return paintMediaPlayButton(object, paintInfo, rect);
    355355    case MediaShowClosedCaptionsButton:
    356         return paintMediaClosedCaptionsButton(object, paintInfo, rect);
     356        return paintMediaToggleClosedCaptionsButton(object, paintInfo, rect);
    357357    case MediaSlider:
    358358        return paintMediaSlider(object, paintInfo, rect);
Note: See TracChangeset for help on using the changeset viewer.