Changeset 176749 in webkit
- Timestamp:
- Dec 3, 2014, 12:42:22 PM (12 years ago)
- Location:
- branches/safari-600.3-branch/Source/WebKit/mac
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
WebView/WebView.mm (modified) (2 diffs)
-
WebView/WebViewData.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.3-branch/Source/WebKit/mac/ChangeLog
r176746 r176749 1 2014-12-03 Dana Burkart <dburkart@apple.com> 2 3 Merge r176695. <rdar://problem/19120929> 4 5 2014-12-02 Tim Horton <timothy_horton@apple.com> 6 7 Loading Lookup causes http/tests/cache/post-redirect-get.php to fail 8 https://bugs.webkit.org/show_bug.cgi?id=139204 9 10 Reviewed by Anders Carlsson. 11 12 * WebView/WebView.mm: 13 (-[WebView _commonInitializationWithFrameName:groupName:]): 14 (-[WebView _showDictionaryLookupPopup:]): 15 * WebView/WebViewData.h: 16 Work around this by delaying the softlinking (and setting up the notification 17 observer) until we actually need it. There's still an underlying bug, but 18 this will fix the test. 19 20 1 21 2014-12-03 Dana Burkart <dburkart@apple.com> 2 22 -
branches/safari-600.3-branch/Source/WebKit/mac/WebView/WebView.mm
r176737 r176749 1033 1033 #if !PLATFORM(IOS) 1034 1034 [self _registerDraggedTypes]; 1035 1036 if (canLoadLUNotificationPopoverWillClose())1037 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_dictionaryLookupPopoverWillClose:) name:getLUNotificationPopoverWillClose() object:nil];1038 1035 #endif 1039 1036 … … 8626 8623 textBaselineOrigin = [self.window convertRectToScreen:NSMakeRect(textBaselineOrigin.x, textBaselineOrigin.y, 0, 0)].origin; 8627 8624 8628 if (canLoadLUTermOptionDisableSearchTermIndicator()) { 8625 if (canLoadLUTermOptionDisableSearchTermIndicator() && canLoadLUNotificationPopoverWillClose()) { 8626 if (!_private->hasInitializedLookupObserver) { 8627 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_dictionaryLookupPopoverWillClose:) name:getLUNotificationPopoverWillClose() object:nil]; 8628 _private->hasInitializedLookupObserver = YES; 8629 } 8630 8629 8631 RetainPtr<NSMutableDictionary> mutableOptions = adoptNS([dictionaryPopupInfo.options mutableCopy]); 8630 8632 if (!mutableOptions) -
branches/safari-600.3-branch/Source/WebKit/mac/WebView/WebViewData.h
r176738 r176749 153 153 #endif // __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 154 154 std::unique_ptr<WebCore::TextIndicatorWindow> textIndicatorWindow; 155 BOOL hasInitializedLookupObserver; 155 156 #endif // PLATFORM(MAC) 156 157
Note:
See TracChangeset
for help on using the changeset viewer.