Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1953)

Unified Diff: cc/surfaces/display.cc

Issue 2208693003: Revert of cc: Make LayerTreeTests use a DelegatingRenderer and Display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/surfaces/display_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 9ded1a21c70bea9d719ff78c4395aef634831384..fe35c7b9d5185f615cd5dd13025a495cf1f6433a 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -288,8 +288,6 @@
should_draw = false;
}
- client_->DisplayWillDrawAndSwap(should_draw, frame_data->render_pass_list);
-
if (should_draw) {
gfx::Rect device_viewport_rect = external_viewport_.IsEmpty()
? gfx::Rect(current_surface_size_)
@@ -341,7 +339,6 @@
DidSwapBuffersComplete();
}
- client_->DisplayDidDrawAndSwap();
return true;
}
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/surfaces/display_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698