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

Unified Diff: cc/test/fake_output_surface.h

Issue 2699173002: cc: Make OutputSurfaceFrame::sub_buffer_rect optional (Closed)
Patch Set: Removed obsolete comment Created 3 years, 10 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_frame.h ('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 4a83f8d9c7793339f8c7033c6c2d76be32022b4a..bf8ef86640a0dc7c9acb441539e23f4c8d3d59b2 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -93,11 +93,6 @@ class FakeOutputSurface : public OutputSurface {
suspended_for_recycle_ = suspended;
}
- gfx::Rect last_swap_rect() const {
- DCHECK(last_swap_rect_valid_);
- return last_swap_rect_;
- }
-
const gfx::ColorSpace& last_reshape_color_space() {
return last_reshape_color_space_;
}
@@ -115,8 +110,6 @@ class FakeOutputSurface : public OutputSurface {
GLint framebuffer_ = 0;
GLenum framebuffer_format_ = 0;
OverlayCandidateValidator* overlay_candidate_validator_ = nullptr;
- bool last_swap_rect_valid_ = false;
- gfx::Rect last_swap_rect_;
gfx::ColorSpace last_reshape_color_space_;
private:
« no previous file with comments | « cc/output/output_surface_frame.h ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698