Changeset 195553 in webkit


Ignore:
Timestamp:
Jan 25, 2016 1:40:19 PM (8 years ago)
Author:
Beth Dakin
Message:

Build fix.

  • WebView/WebHTMLView.mm:

(-[WebHTMLView initWithFrame:]):
(-[WebHTMLView insertText:]):

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

Legend:

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

    r195552 r195553  
     12016-01-25  Beth Dakin  <bdakin@apple.com>
     2
     3        Build fix.
     4
     5        * WebView/WebHTMLView.mm:
     6        (-[WebHTMLView initWithFrame:]):
     7        (-[WebHTMLView insertText:]):
     8
    192016-01-25  Beth Dakin  <bdakin@apple.com>
    210
  • trunk/Source/WebKit/mac/WebView/WebHTMLView.mm

    r195552 r195553  
    28472847
    28482848    _private->pluginController = [[WebPluginController alloc] initWithDocumentView:self];
    2849     _private->softSpaceRange = NSMakeRange(NSNotFound, 0);
    28502849#if PLATFORM(IOS)
    28512850    [[NSNotificationCenter defaultCenter]
    28522851            addObserver:self selector:@selector(markedTextUpdate:)
    28532852                   name:WebMarkedTextUpdatedNotification object:nil];
     2853#else
     2854    _private->softSpaceRange = NSMakeRange(NSNotFound, 0);
    28542855#endif
    28552856   
     
    70957096        return;
    70967097
    7097 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
     7098#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
    70987099    if (_private->softSpaceRange.location != NSNotFound && (replacementRange.location == NSMaxRange(_private->softSpaceRange) || replacementRange.location == NSNotFound) && replacementRange.length == 0 && [[NSSpellChecker sharedSpellChecker] deletesAutospaceBeforeString:text language:nil])
    70997100        replacementRange = _private->softSpaceRange;
Note: See TracChangeset for help on using the changeset viewer.