Changeset 154615 in webkit


Ignore:
Timestamp:
Aug 26, 2013, 10:51:46 AM (12 years ago)
Author:
Brent Fulgham
Message:

[Windows] Unreviewed build fix.

  • rendering/RenderMediaControls.cpp: Remove references to QuickTime controls

that are no longer part of WKSI.
(wkHitTestMediaUIPart):
(wkMeasureMediaUIPart):
(wkDrawMediaUIPart):
(wkDrawMediaSliderTrack):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r154614 r154615  
     12013-08-26  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Windows] Unreviewed build fix.
     4
     5        * rendering/RenderMediaControls.cpp: Remove references to QuickTime controls
     6        that are no longer part of WKSI.
     7        (wkHitTestMediaUIPart):
     8        (wkMeasureMediaUIPart):
     9        (wkDrawMediaUIPart):
     10        (wkDrawMediaSliderTrack):
     11
    1122013-08-26  Gurpreet Kaur  <gur.trio@gmail.com>
    213
  • trunk/Source/WebCore/rendering/RenderMediaControls.cpp

    r154205 r154615  
    11/*
    2  * Copyright (C) 2009 Apple Inc. All Rights Reserved.
     2 * Copyright (C) 2009, 2013 Apple Inc. All Rights Reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    4646inline bool wkHitTestMediaUIPart(int part, const CGRect& bounds, const CGPoint& point)
    4747{
    48 #if HAVE(AVCF_LEGIBLE_OUTPUT)
    4948    WKHitTestMediaUIPart(part, bounds, point);
    50 #else
    51     WKHitTestMediaUIPart(part, WKMediaControllerThemeQuickTime, bounds, point);
    52 #endif
    5349}
    5450
    5551inline void wkMeasureMediaUIPart(int part, CGRect* bounds, CGSize* naturalSize)
    5652{
    57 #if HAVE(AVCF_LEGIBLE_OUTPUT)
    5853    WKMeasureMediaUIPart(part, bounds, naturalSize);
    59 #else
    60     WKMeasureMediaUIPart(part, WKMediaControllerThemeQuickTime, bounds, naturalSize);
    61 #endif
    6254}
    6355
    6456inline void wkDrawMediaUIPart(int part, CGContextRef context, const CGRect& rect, unsigned state)
    6557{
    66 #if HAVE(AVCF_LEGIBLE_OUTPUT)
    6758    WKDrawMediaUIPart(part, context, rect, state);
    68 #else
    69     WKDrawMediaUIPart(part, WKMediaControllerThemeQuickTime, context, rect, state);
    70 #endif
    7159}
    7260
    7361inline void wkDrawMediaSliderTrack(CGContextRef context, const CGRect& rect, float timeLoaded, float currentTime, float duration, unsigned state)
    7462{
    75 #if HAVE(AVCF_LEGIBLE_OUTPUT)
    7663    WKDrawMediaSliderTrack(context, rect, timeLoaded, currentTime, duration, state);
    77 #else
    78     WKDrawMediaSliderTrack(WKMediaControllerThemeQuickTime, context, rect, timeLoaded, currentTime, duration, state);
    79 #endif
    8064}
    8165
Note: See TracChangeset for help on using the changeset viewer.