2010-11-24 Andreas Kling <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Fix uninitialized variable in QGraphicsWKViewPrivate

        Always initialize QGWKVP::m_isChangingScale in the constructor.

        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKViewPrivate::QGraphicsWKViewPrivate):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7956a807
2010-11-24 Andreas Kling <kling@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Fix uninitialized variable in QGraphicsWKViewPrivate
Always initialize QGWKVP::m_isChangingScale in the constructor.
* UIProcess/API/qt/qgraphicswkview.cpp:
(QGraphicsWKViewPrivate::QGraphicsWKViewPrivate):
2010-11-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
Reviewed by Andreas Kling.
......@@ -336,6 +336,7 @@ void QGraphicsWKView::takeSnapshot(const QSize& size, const QRect& contentsRect)
QGraphicsWKViewPrivate::QGraphicsWKViewPrivate(QGraphicsWKView* view)
: q(view)
, m_scaleCommitTimer(RunLoop::current(), this, &QGraphicsWKViewPrivate::commitScale)
, m_isChangingScale(false)
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment