Changeset 101216 in webkit
- Timestamp:
- Nov 27, 2011, 4:12:54 PM (15 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Shared/WebLayerTreeInfo.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r101215 r101216 1 2011-11-27 Zeno Albisser <zeno@webkit.org> 2 3 [Qt][WK2] MiniBrowser stops displaying content after surfing a few pages. 4 https://bugs.webkit.org/show_bug.cgi?id=73172 5 6 Properly initialize WebLayerTreeInfo structures. 7 8 Reviewed by Andreas Kling. 9 10 * Shared/WebLayerTreeInfo.h: 11 (WebKit::WebLayerUpdateInfo::WebLayerUpdateInfo): 12 (WebKit::WebLayerAnimation::WebLayerAnimation): 13 (WebKit::WebLayerInfo::WebLayerInfo): 14 (WebKit::WebLayerTreeInfo::WebLayerTreeInfo): 15 1 16 2011-11-27 Mark Rowe <mrowe@apple.com> 2 17 -
trunk/Source/WebKit2/Shared/WebLayerTreeInfo.h
r100922 r101216 40 40 WebLayerUpdateInfo() { } 41 41 WebLayerUpdateInfo(const IntRect& r) 42 : rect(r) { } 42 : layerID(InvalidWebLayerID) 43 , rect(r) { } 43 44 44 45 WebLayerID layerID; … … 51 52 52 53 struct WebLayerAnimation { 53 WebLayerAnimation() : keyframeList(AnimatedPropertyInvalid) { } 54 WebLayerAnimation() 55 : operation(InvalidAnimation) 56 , keyframeList(AnimatedPropertyInvalid) 57 , startTime(0) { } 54 58 WebLayerAnimation(const KeyframeValueList& valueList) 55 : keyframeList(valueList) { } 59 : operation(InvalidAnimation) 60 , keyframeList(valueList) 61 , startTime(0) { } 62 56 63 String name; 57 64 enum Operation { 58 65 AddAnimation, 59 66 RemoveAnimation, 60 PauseAnimation 67 PauseAnimation, 68 InvalidAnimation 61 69 } operation; 62 70 IntSize boxSize; … … 70 78 71 79 struct WebLayerInfo { 80 WebLayerInfo() 81 : id(InvalidWebLayerID) 82 , parent(InvalidWebLayerID) 83 , replica(InvalidWebLayerID) 84 , mask(InvalidWebLayerID) 85 , imageBackingStoreID(0) 86 , opacity(0) 87 , flags(0) { } 88 72 89 String name; 73 90 WebLayerID id; … … 107 124 108 125 struct WebLayerTreeInfo { 126 WebLayerTreeInfo() 127 : rootLayerID(InvalidWebLayerID) 128 , contentScale(0) { } 129 109 130 Vector<WebLayerInfo> layers; 110 131 Vector<WebLayerID> deletedLayerIDs;
Note:
See TracChangeset
for help on using the changeset viewer.