diff options
author | simonhong@chromium.org <simonhong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-14 22:49:15 +0000 |
---|---|---|
committer | simonhong@chromium.org <simonhong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-14 22:49:15 +0000 |
commit | c8d13948289b018621c37f71dd38dd30dde5ec26 (patch) | |
tree | 9322516ca62d1eb3be9b38a54228be334b7111df /cc | |
parent | dbdd6027c15ebc71b8d28f9fbbcc7a2bc3d3dbd3 (diff) | |
download | chromium_src-c8d13948289b018621c37f71dd38dd30dde5ec26.zip chromium_src-c8d13948289b018621c37f71dd38dd30dde5ec26.tar.gz chromium_src-c8d13948289b018621c37f71dd38dd30dde5ec26.tar.bz2 |
cc: remove SetVisible() call in ThreadProxy::ScheduledActionCommit()
I think this call was deprecated. This call doesn't trigger additional
process actions because this is middle of process action. And update
visibility here has not much meaning.
If visibility is changed during the commit action, its value is applied
by Proxy::SetVisible().
R=brianderson@chromium.org
BUG=NONE
TEST=cc_unittests
Review URL: https://codereview.chromium.org/236613004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/trees/thread_proxy.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc index b0cd328..e84937b 100644 --- a/cc/trees/thread_proxy.cc +++ b/cc/trees/thread_proxy.cc @@ -1109,9 +1109,6 @@ void ThreadProxy::ScheduledActionCommit() { impl().next_frame_is_newly_committed_frame = true; impl().timing_history.DidCommit(); - - // SetVisible kicks off the next scheduler action, so this must be last. - impl().scheduler->SetVisible(impl().layer_tree_host_impl->visible()); } void ThreadProxy::ScheduledActionUpdateVisibleTiles() { |