cc: Use Scheduler::BeginFrame() in SingleThreadProxy
commit96b5967f6a201fdb0e7cb3782de01915362ecb8a
authorsimonhong <simonhong@chromium.org>
Thu, 4 Sep 2014 04:50:03 +0000 (3 21:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Sep 2014 04:58:52 +0000 (4 04:58 +0000)
treeb32efd0d0a9cbbba376273dbc5dba3c7e629c266
parent22c9c3bd31b43bdf82cf3e9c9fececf4dd70e407
cc: Use Scheduler::BeginFrame() in SingleThreadProxy

Proxy should use BeginFrame() to request new BeginFrame instead of BeginImplFrame().
The scheduler turns BeginFrames into BeginImplFrames or BeginRetroFrames
as necessary to make sure we don't start a new BeginImplFrame
before the previous deadline.

Some of public methods that are only used by itself moved into the private.

R=brianderson@chromium.org
BUG=NONE
TEST=cc_unittests

Review URL: https://codereview.chromium.org/536123002

Cr-Commit-Position: refs/heads/master@{#293259}
cc/scheduler/scheduler.cc
cc/scheduler/scheduler.h
cc/trees/single_thread_proxy.cc