Changeset 40306 in webkit
- Timestamp:
- Jan 27, 2009 8:08:20 PM (15 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r40289 r40306 1 2009-01-27 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 Fix two bugs with Core Animation based plug-ins. 6 7 1. The plug-in view was marked as opaque even though it's not. 8 (This would leave garbage in the plug-in view). 9 2. The plug-in layer needs to have autoresizing turned on. 10 11 * Plugins/WebNetscapePluginView.mm: 12 (-[WebNetscapePluginView setLayer:]): 13 1 14 2009-01-27 Brady Eidson <beidson@apple.com> 2 15 -
trunk/WebKit/mac/Plugins/WebNetscapePluginView.mm
r39257 r40306 1077 1077 { 1078 1078 [super setLayer:newLayer]; 1079 1080 if (_pluginLayer) 1079 1080 if (_pluginLayer) { 1081 _pluginLayer.get().autoresizingMask = kCALayerWidthSizable | kCALayerHeightSizable; 1081 1082 [newLayer addSublayer:_pluginLayer.get()]; 1083 } 1082 1084 } 1083 1085 #endif … … 1935 1937 [self setNeedsDisplayInRect:NSMakeRect(invalidRect->left, invalidRect->top, 1936 1938 (float)invalidRect->right - invalidRect->left, (float)invalidRect->bottom - invalidRect->top)]; 1937 }1938 1939 -(BOOL)isOpaque1940 {1941 return YES;1942 1939 } 1943 1940
Note: See TracChangeset
for help on using the changeset viewer.