Do not suspend CSS animations when page is hidden
authorHeejin Chung <heejin.r.chung@samsung.com>
Thu, 2 May 2013 08:20:07 +0000 (17:20 +0900)
committerGerrit Code Review <gerrit2@kim11>
Fri, 3 May 2013 01:52:51 +0000 (10:52 +0900)
commitc9f9afc5d67f1b82fb319286df52ba2d08113a3c
tree9c65488dfb3ee1401d7b6de529fd825eaa68a74e
parent905629c3334b573592d3410caeef8c94d12eed06
Do not suspend CSS animations when page is hidden

[Title] Do not suspend CSS animations when page is hidden
[Issue#] TDIS-5549
[Problem] CSS animation gets suspended when moved to background.
[Cause] commit f9d52256dc1509696c042ae7b7400fbaa271e8bd
        was added to save CPU resource when page is hidden.
        However, animated attributes are changed without it being
        painted when page is in background, so almost no CPU resources
        are used when css animation runs on a page that is hidden.
[Solution] revert previous patch

Change-Id: Idf54192a75709c2a6db1f755e9fb233b58eb2185
Source/WTF/wtf/Platform.h
Source/WebCore/page/Page.cpp