Title: [238072] trunk/Source/WebCore
- Revision
- 238072
- Author
- [email protected]
- Date
- 2018-11-10 22:13:33 -0800 (Sat, 10 Nov 2018)
Log 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:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (238071 => 238072)
--- trunk/Source/WebCore/ChangeLog 2018-11-11 00:26:15 UTC (rev 238071)
+++ trunk/Source/WebCore/ChangeLog 2018-11-11 06:13:33 UTC (rev 238072)
@@ -1,3 +1,16 @@
+2018-11-10 Megan Gardner <[email protected]>
+
+ 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:
+
2018-11-10 Simon Fraser <[email protected]>
Remove support for -webkit-svg-shadow
Modified: trunk/Source/WebCore/editing/mac/DictionaryLookup.mm (238071 => 238072)
--- trunk/Source/WebCore/editing/mac/DictionaryLookup.mm 2018-11-11 00:26:15 UTC (rev 238071)
+++ trunk/Source/WebCore/editing/mac/DictionaryLookup.mm 2018-11-11 06:13:33 UTC (rev 238072)
@@ -49,22 +49,29 @@
#import <wtf/BlockObjCExceptions.h>
#import <wtf/RefPtr.h>
-@interface WebRevealHighlight <RVPresenterHighlightDelegate> : NSObject
+@interface WebRevealHighlight <RVPresenterHighlightDelegate> : NSObject {
+@private
+ Function<void()> _clearTextIndicator;
+ NSRect _highlightRect;
+ BOOL _useDefaultHighlight;
+ NSAttributedString *_attributedString;
+}
-- (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString;
-
@property (nonatomic, readonly) NSRect highlightRect;
@property (nonatomic, readonly) BOOL useDefaultHighlight;
@property (nonatomic, readonly) NSAttributedString *attributedString;
+- (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString;
- (void)setClearTextIndicator:(Function<void()>&&)clearTextIndicator;
@end
-@implementation WebRevealHighlight {
- Function<void()> _clearTextIndicator;
-}
+@implementation WebRevealHighlight
+@synthesize highlightRect=_highlightRect;
+@synthesize useDefaultHighlight=_useDefaultHighlight;
+@synthesize attributedString=_attributedString;
+
- (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString
{
if (!(self = [super init]))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes