Changeset 60156 in webkit
- Timestamp:
- May 25, 2010 5:44:36 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r60155 r60156 1 2010-05-25 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> 2 3 Reviewed by Laszlo Gombos. 4 5 [Qt] Running with accelerated compositing enabled sometimes result in a crash 6 https://bugs.webkit.org/show_bug.cgi?id=39609 7 8 Check if we have a scene before applying the workaround for 9 the QGraphicsScene bug where opacity change doesn't always have 10 immediate effect. 11 12 * platform/graphics/qt/GraphicsLayerQt.cpp: 13 (WebCore::OpacityAnimationQt::applyFrame): 14 1 15 2010-05-25 Yury Semikhatsky <yurys@chromium.org> 2 16 -
trunk/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp
r60040 r60156 1362 1362 setCurrentTime(1); 1363 1363 } 1364 1364 1365 virtual void applyFrame(const qreal& fromValue, const qreal& toValue, qreal progress) 1365 1366 { … … 1368 1369 // FIXME: This is a hack, due to a probable QGraphicsScene bug. 1369 1370 // Without this the opacity change doesn't always have immediate effect. 1370 if ( !m_layer.data()->opacity() && opacity)1371 if (m_layer.data()->scene() && !m_layer.data()->opacity() && opacity) 1371 1372 m_layer.data()->scene()->update(); 1372 1373
Note: See TracChangeset
for help on using the changeset viewer.