Changeset 100214 in webkit
- Timestamp:
- Nov 14, 2011, 4:34:35 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/mac/WebLayer.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r100213 r100214 1 2011-11-14 Simon Fraser <simon.fraser@apple.com> 2 3 div with webkit-transform + webkit-box-reflect disappears when switching tabs 4 https://bugs.webkit.org/show_bug.cgi?id=53355 5 6 Reviewed by Dean Jackson. 7 8 Tickle Core Animation into updating the layer's content property when 9 switching back to a tab which has composited reflections. This hack is 10 needed becuase reflections involve sharing layer contents between layers. 11 12 * platform/graphics/mac/WebLayer.mm: 13 (-[WebLayer actionForKey:]): 14 1 15 2011-11-14 Adam Barth <abarth@webkit.org> 2 16 -
trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm
r98824 r100214 37 37 #import <wtf/UnusedParam.h> 38 38 39 @interface CALayer(WebCoreCALayerPrivate) 40 - (void)reloadValueForKeyPath:(NSString *)keyPath; 41 @end 42 39 43 using namespace WebCore; 40 44 … … 147 151 } 148 152 149 // Disable default animations150 153 - (id<CAAction>)actionForKey:(NSString *)key 151 154 { 152 UNUSED_PARAM(key); 155 // Fix for <rdar://problem/9015675>: Force the layer content to be updated when the tree is reparented. 156 if ([key isEqualToString:@"onOrderIn"]) 157 [self reloadValueForKeyPath:@"contents"]; 158 153 159 return nil; 154 160 }
Note:
See TracChangeset
for help on using the changeset viewer.