Changeset 18756 in webkit
- Timestamp:
- Jan 10, 2007 8:44:54 PM (17 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/ChangeLog
r18748 r18756 1 2007-01-10 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Darin. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=11775 6 'Show URLs in Tool Tips' preference is ignored 7 8 * WebView/WebHTMLView.mm: 9 (-[WebHTMLView _resetCachedWebPreferences:]): 10 (-[WebHTMLView setDataSource:]): Added a call to _resetCachedWebPreferences:. 11 Added an assertion that the view is not closed, instead of reopening it. 12 Reopening should not occur, now that <http://bugs.webkit.org/show_bug.cgi?id=12087> 13 is fixed. 14 1 15 2007-01-10 Beth Dakin <bdakin@apple.com> 2 16 -
trunk/WebKit/WebView/WebHTMLView.mm
r18725 r18756 1902 1902 WebPreferences *preferences = [[self _webView] preferences]; 1903 1903 // Check for nil because we might not yet have an associated webView when this is called 1904 if (preferences == nil) {1904 if (preferences == nil) 1905 1905 preferences = [WebPreferences standardPreferences]; 1906 } 1906 1907 1907 _private->showsURLsInToolTips = [preferences showsURLsInToolTips]; 1908 1908 } … … 3074 3074 { 3075 3075 ASSERT(dataSource); 3076 if (_private->dataSource == dataSource) 3077 return; 3078 ASSERT(!_private->dataSource); 3079 _private->closed = NO; // setting a data source reopens a closed view 3080 _private->dataSource = [dataSource retain]; 3081 [_private->pluginController setDataSource:dataSource]; 3082 [self addMouseMovedObserver]; 3076 if (_private->dataSource != dataSource) { 3077 ASSERT(!_private->dataSource); 3078 ASSERT(!_private->closed); 3079 _private->dataSource = [dataSource retain]; 3080 [_private->pluginController setDataSource:dataSource]; 3081 [self addMouseMovedObserver]; 3082 } 3083 [self _resetCachedWebPreferences:nil]; 3083 3084 } 3084 3085
Note: See TracChangeset
for help on using the changeset viewer.