⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 238072 in webkit


Ignore:
Timestamp:
Nov 10, 2018, 10:13:33 PM (8 years ago)
Author:
Megan Gardner
Message:

Fix build for 32bit Mac
https://bugs.webkit.org/show_bug.cgi?id=191511

Unreviewed Build Fix.

Build fix, not tests needed.

Make the apporiate delecrations for 32-bit mac support.

  • editing/mac/DictionaryLookup.mm:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r238071 r238072  
     12018-11-10  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Fix build for 32bit Mac
     4        https://bugs.webkit.org/show_bug.cgi?id=191511
     5
     6        Unreviewed Build Fix.
     7
     8        Build fix, not tests needed.
     9
     10        Make the apporiate delecrations for 32-bit mac support.
     11
     12        * editing/mac/DictionaryLookup.mm:
     13
    1142018-11-10  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/Source/WebCore/editing/mac/DictionaryLookup.mm

    r238014 r238072  
    5050#import <wtf/RefPtr.h>
    5151
    52 @interface WebRevealHighlight <RVPresenterHighlightDelegate> : NSObject
    53 
    54 - (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString;
     52@interface WebRevealHighlight <RVPresenterHighlightDelegate> : NSObject {
     53@private
     54    Function<void()> _clearTextIndicator;
     55    NSRect _highlightRect;
     56    BOOL _useDefaultHighlight;
     57    NSAttributedString *_attributedString;
     58}
    5559
    5660@property (nonatomic, readonly) NSRect highlightRect;
     
    5862@property (nonatomic, readonly) NSAttributedString *attributedString;
    5963
     64- (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString;
    6065- (void)setClearTextIndicator:(Function<void()>&&)clearTextIndicator;
    6166
    6267@end
    6368
    64 @implementation WebRevealHighlight {
    65     Function<void()> _clearTextIndicator;
    66 }
     69@implementation WebRevealHighlight
     70
     71@synthesize highlightRect=_highlightRect;
     72@synthesize useDefaultHighlight=_useDefaultHighlight;
     73@synthesize attributedString=_attributedString;
    6774
    6875- (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString
Note: See TracChangeset for help on using the changeset viewer.