diff options
author | Luciano Wolf <luciano.wolf@openbossa.org> | 2014-11-26 14:35:58 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2014-11-26 15:30:51 +0100 |
commit | f9573d174a6cee19917d425cedd2d8a94ede8bac (patch) | |
tree | ea91770ac1f78a373b50887c05256271e6a7d9c6 /Source/WebKit2/UIProcess/API/qt/qwebloadrequest.cpp | |
parent | 3855ff8a1238b652a859975a549e90a90fae5cb0 (diff) | |
download | qtwebkit-f9573d174a6cee19917d425cedd2d8a94ede8bac.tar.gz |
100% cpu usage for "transition: opacity" animation
https://bugs.webkit.org/show_bug.cgi?id=120012
Reviewed by Noam Rosenthal.
Schedule animation timer after scheduling a layer flush. This way it
won't overwrite animation timer with "0", thus avoiding 100% cpu usage.
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
(WebKit::CoordinatedLayerTreeHost::scheduleAnimation):
Change-Id: Ia423bb1a8cb5da8f29aaa489c8023744d43119f2
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/WebKit2/UIProcess/API/qt/qwebloadrequest.cpp')
0 files changed, 0 insertions, 0 deletions