Changeset 29126 in webkit
- Timestamp:
- Jan 3, 2008, 9:15:14 AM (17 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r29072 r29126 1 2008-01-02 Kevin Decker <kdecker@apple.com> 2 3 Reviewed by Darin. 4 5 Fixed: <rdar://problem/5660603> QuickDraw plug-ins can cause a 100% reproducible assertion failure in AppKit (breaks Safari UI) 6 7 * Plugins/WebBaseNetscapePluginView.mm: 8 (-[WebBaseNetscapePluginView updateAndSetWindow]): Simplified an early return for non-QuickDraw plug-ins and switched 9 to using the more NSView friendly version of lockFocus, lockFocusIfCanDraw. 10 1 11 2008-01-01 David D. Kilzer <ddkilzer@webkit.org> 2 12 -
trunk/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm
r28902 r29126 1201 1201 if (!isStarted) 1202 1202 return; 1203 if ( (drawingModel == NPDrawingModelCoreGraphics || drawingModel == NPDrawingModelOpenGL)&& ![self canDraw])1203 if (drawingModel != NPDrawingModelQuickDraw && ![self canDraw]) 1204 1204 return; 1205 1205 1206 BOOL needsFocus = [self window] && ([NSView focusView] != self); 1207 if (needsFocus) 1208 [self lockFocus]; 1209 1206 BOOL didLockFocus = [NSView focusView] != self && [self lockFocusIfCanDraw]; 1210 1207 PortState portState = [self saveAndSetNewPortState]; 1211 1208 if (portState) { … … 1214 1211 free(portState); 1215 1212 } 1216 if ( needsFocus)1213 if (didLockFocus) 1217 1214 [self unlockFocus]; 1218 1215 }
Note:
See TracChangeset
for help on using the changeset viewer.