summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/display.cc
diff options
context:
space:
mode:
authorsunnyps <sunnyps@chromium.org>2015-04-01 20:07:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-02 03:07:56 +0000
commit894faa608876e34f9b20ed101ab7aca69de10d15 (patch)
treeba4e060449f7cb9279b9f5f08f5afa8da8f210f0 /cc/surfaces/display.cc
parente81450c38f854741210c081875e85ce7a112584f (diff)
downloadchromium_src-894faa608876e34f9b20ed101ab7aca69de10d15.zip
chromium_src-894faa608876e34f9b20ed101ab7aca69de10d15.tar.gz
chromium_src-894faa608876e34f9b20ed101ab7aca69de10d15.tar.bz2
Revert of cc: Make scheduling be driven by vsync for android webview. (patchset #38 id:740001 of https://codereview.chromium.org/817603002/)
Reason for revert: Causes a webview test to fail. http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/19230 Original issue's description: > cc: Make scheduling be driven by vsync for android webview. > > This CL makes android webview use the similar mechanisms for > scheduling as other platforms instead of using special > polling code in the scheduler. > > Design Doc: https://docs.google.com/a/chromium.org/document/d/1w5UiuA2uZcAiU9-1Y23bxXaStUThkAK8wHI4ULqho2Y/edit# > > BUG=439275 > > Committed: https://crrev.com/bf27da634790bb6eecf4b89f278cfd55c5e5d1f3 > Cr-Commit-Position: refs/heads/master@{#323361} TBR=brianderson@chromium.org,boliu@chromium.org,enne@chromium.org,danakj@chromium.org,hush@chromium.org,mithro@mithis.com,jdduke@chromium.org,sievers@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=439275 Review URL: https://codereview.chromium.org/1055743002 Cr-Commit-Position: refs/heads/master@{#323415}
Diffstat (limited to 'cc/surfaces/display.cc')
-rw-r--r--cc/surfaces/display.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 6de3c30..7ec4672 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -196,10 +196,6 @@ void Display::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
client_->SetMemoryPolicy(policy);
}
-void Display::OnDraw() {
- NOTREACHED();
-}
-
void Display::OnSurfaceDamaged(SurfaceId surface_id, bool* changed) {
if (aggregator_ &&
aggregator_->previous_contained_surfaces().count(surface_id)) {