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

Unified Diff: cc/test/fake_compositor_frame_sink.h

Issue 2855723002: Don't submit frames with no render passes in cc tests (Closed)
Patch Set: c Created 3 years, 7 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/test/compositor_frame_helpers.cc ('k') | cc/test/fake_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_compositor_frame_sink.h
diff --git a/cc/test/fake_compositor_frame_sink.h b/cc/test/fake_compositor_frame_sink.h
index 098b28aeadc3f242f0278fbcbe37b0b09f0aa005..4fe6a88901e350c7b3e5f626751b201056575846 100644
--- a/cc/test/fake_compositor_frame_sink.h
+++ b/cc/test/fake_compositor_frame_sink.h
@@ -76,7 +76,6 @@ class FakeCompositorFrameSink : public CompositorFrameSink {
}
gfx::Rect last_swap_rect() const {
- DCHECK(last_swap_rect_valid_);
return last_swap_rect_;
}
@@ -93,7 +92,6 @@ class FakeCompositorFrameSink : public CompositorFrameSink {
std::unique_ptr<CompositorFrame> last_sent_frame_;
size_t num_sent_frames_ = 0;
TransferableResourceArray resources_held_by_parent_;
- bool last_swap_rect_valid_ = false;
gfx::Rect last_swap_rect_;
private:
« no previous file with comments | « cc/test/compositor_frame_helpers.cc ('k') | cc/test/fake_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698