Changeset 57744 in webkit


Ignore:
Timestamp:
Apr 16, 2010 2:16:54 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-16 No'am Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Antti Koivisto.

[Qt]QtLauncher crash on page with CSS 3D transform
https://bugs.webkit.org/show_bug.cgi?id=36859

Added a neccessary null-pointer check, lack of which created the crash circumstances.

Tested by http://css-vfx.googlecode.com/svn/trunk/snowstack/snowstack.html

  • platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::flushChanges):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57741 r57744  
     12010-04-16  No'am Rosenthal  <noam.rosenthal@nokia.com>
     2
     3        Reviewed by Antti Koivisto.
     4
     5        [Qt]QtLauncher crash on page with CSS 3D transform
     6        https://bugs.webkit.org/show_bug.cgi?id=36859
     7
     8        Added a neccessary null-pointer check, lack of which created the crash circumstances.
     9
     10        Tested by http://css-vfx.googlecode.com/svn/trunk/snowstack/snowstack.html
     11
     12        * platform/graphics/qt/GraphicsLayerQt.cpp:
     13        (WebCore::GraphicsLayerQtImpl::flushChanges):
     14
    1152010-04-16  Anders Carlsson  <andersca@apple.com>
    216
  • trunk/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp

    r57718 r57744  
    470470    // but without this line we get graphic artifacts
    471471    if ((m_changeMask & ChildrenTransformChange) && m_state.childrenTransform != m_layer->childrenTransform())
    472         scene()->update();
     472        if (scene())
     473            scene()->update();
    473474
    474475    if (m_changeMask & (ChildrenTransformChange | Preserves3DChange | TransformChange | AnchorPointChange | SizeChange)) {
Note: See TracChangeset for help on using the changeset viewer.