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

Unified Diff: cc/test/fake_output_surface.h

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/surfaces/surface_display_output_surface.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index f3748caf7d83b9b4df2b69383a11e406c814316a..775724386b913927b85b73663a5bddc68a9f40b1 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -13,7 +13,6 @@
#include "base/time/time.h"
#include "cc/output/begin_frame_args.h"
#include "cc/output/compositor_frame.h"
-#include "cc/output/managed_memory_policy.h"
#include "cc/output/output_surface.h"
#include "cc/output/software_output_device.h"
#include "cc/test/test_context_provider.h"
@@ -143,9 +142,6 @@ class FakeOutputSurface : public OutputSurface {
suspended_for_recycle_ = suspended;
}
- void SetMemoryPolicyToSetAtBind(
- std::unique_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind);
-
gfx::Rect last_swap_rect() const {
DCHECK(last_swap_rect_valid_);
return last_swap_rect_;
@@ -171,7 +167,6 @@ class FakeOutputSurface : public OutputSurface {
GLint framebuffer_ = 0;
GLenum framebuffer_format_ = 0;
TransferableResourceArray resources_held_by_parent_;
- std::unique_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_;
OverlayCandidateValidator* overlay_candidate_validator_ = nullptr;
bool last_swap_rect_valid_ = false;
gfx::Rect last_swap_rect_;
« no previous file with comments | « cc/surfaces/surface_display_output_surface.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698