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

Unified Diff: cc/surfaces/display.cc

Issue 2321883002: cc: Remove SetMemoryPolicy from OutputSurface and Display. (Closed)
Patch Set: nits Created 4 years, 3 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/output/output_surface_client.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 f22c056cdcf1bb32dfb3da844d9b29bc2e388536..6d40de6f0d74283c3a866fe8c35c788c328f7fb0 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -371,7 +371,8 @@ void Display::SetBeginFrameSource(BeginFrameSource* source) {
}
void Display::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
- client_->DisplaySetMemoryPolicy(policy);
+ // This is only for LayerTreeHostImpl.
+ NOTREACHED();
}
void Display::OnDraw(const gfx::Transform& transform,
« no previous file with comments | « cc/output/output_surface_client.h ('k') | cc/surfaces/display_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698