⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 101216 in webkit


Ignore:
Timestamp:
Nov 27, 2011, 4:12:54 PM (15 years ago)
Author:
zeno.albisser@nokia.com
Message:

[Qt][WK2] MiniBrowser stops displaying content after surfing a few pages.
https://bugs.webkit.org/show_bug.cgi?id=73172

Properly initialize WebLayerTreeInfo structures.

Reviewed by Andreas Kling.

  • Shared/WebLayerTreeInfo.h:

(WebKit::WebLayerUpdateInfo::WebLayerUpdateInfo):
(WebKit::WebLayerAnimation::WebLayerAnimation):
(WebKit::WebLayerInfo::WebLayerInfo):
(WebKit::WebLayerTreeInfo::WebLayerTreeInfo):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r101215 r101216  
     12011-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
    1162011-11-27  Mark Rowe  <mrowe@apple.com>
    217
  • trunk/Source/WebKit2/Shared/WebLayerTreeInfo.h

    r100922 r101216  
    4040    WebLayerUpdateInfo() { }
    4141    WebLayerUpdateInfo(const IntRect& r)
    42         : rect(r) { }
     42        : layerID(InvalidWebLayerID)
     43        , rect(r) { }
    4344
    4445    WebLayerID layerID;
     
    5152
    5253struct WebLayerAnimation {
    53     WebLayerAnimation() : keyframeList(AnimatedPropertyInvalid) { }
     54    WebLayerAnimation()
     55        : operation(InvalidAnimation)
     56        , keyframeList(AnimatedPropertyInvalid)
     57        , startTime(0) { }
    5458    WebLayerAnimation(const KeyframeValueList& valueList)
    55         : keyframeList(valueList) { }
     59        : operation(InvalidAnimation)
     60        , keyframeList(valueList)
     61        , startTime(0) { }
     62
    5663    String name;
    5764    enum Operation {
    5865        AddAnimation,
    5966        RemoveAnimation,
    60         PauseAnimation
     67        PauseAnimation,
     68        InvalidAnimation
    6169    } operation;
    6270    IntSize boxSize;
     
    7078
    7179struct 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
    7289    String name;
    7390    WebLayerID id;
     
    107124
    108125struct WebLayerTreeInfo {
     126    WebLayerTreeInfo()
     127        : rootLayerID(InvalidWebLayerID)
     128        , contentScale(0) { }
     129
    109130    Vector<WebLayerInfo> layers;
    110131    Vector<WebLayerID> deletedLayerIDs;
Note: See TracChangeset for help on using the changeset viewer.