Changeset 245263 in webkit


Ignore:
Timestamp:
May 13, 2019 4:11:25 PM (5 years ago)
Author:
jer.noble@apple.com
Message:

Make QTKit an optional framework
https://bugs.webkit.org/show_bug.cgi?id=197075

Reviewed by Eric Carlson.

  • WebView/WebVideoFullscreenHUDWindowController.mm:

(-[WebVideoFullscreenHUDWindowController windowDidLoad]):

Location:
trunk/Source/WebKitLegacy/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r245080 r245263  
     12019-05-13  Jer Noble  <jer.noble@apple.com>
     2
     3        Make QTKit an optional framework
     4        https://bugs.webkit.org/show_bug.cgi?id=197075
     5
     6        Reviewed by Eric Carlson.
     7
     8        * WebView/WebVideoFullscreenHUDWindowController.mm:
     9        (-[WebVideoFullscreenHUDWindowController windowDidLoad]):
     10
    1112019-05-08  Alex Christensen  <achristensen@webkit.org>
    212
  • trunk/Source/WebKitLegacy/mac/WebView/WebVideoFullscreenHUDWindowController.mm

    r240190 r245263  
    3333#import <wtf/SoftLinking.h>
    3434
    35 SOFT_LINK_FRAMEWORK(QTKit)
    36 
    37 SOFT_LINK_CLASS(QTKit, QTHUDBackgroundView)
    38 SOFT_LINK_CLASS(QTKit, QTHUDButton)
    39 SOFT_LINK_CLASS(QTKit, QTHUDSlider)
    40 SOFT_LINK_CLASS(QTKit, QTHUDTimeline)
     35SOFT_LINK_FRAMEWORK_OPTIONAL(QTKit)
     36
     37SOFT_LINK_CLASS_OPTIONAL(QTKit, QTHUDBackgroundView)
     38SOFT_LINK_CLASS_OPTIONAL(QTKit, QTHUDButton)
     39SOFT_LINK_CLASS_OPTIONAL(QTKit, QTHUDSlider)
     40SOFT_LINK_CLASS_OPTIONAL(QTKit, QTHUDTimeline)
    4141
    4242#define QTHUDBackgroundView getQTHUDBackgroundViewClass()
     
    403403    static const CGFloat timeTextFieldHorizontalMargin = 7;
    404404
     405    if (!QTKitLibrary()
     406        || !getQTHUDBackgroundViewClass()
     407        || !getQTHUDButtonClass()
     408        || !getQTHUDSliderClass()
     409        || !getQTHUDTimelineClass())
     410        return;
     411
    405412    NSWindow *window = [self window];
    406413    ASSERT(window);
Note: See TracChangeset for help on using the changeset viewer.