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

Unified Diff: cc/test/fake_compositor_frame_sink.cc

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: Rebase + fix includes. Created 4 years, 2 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
Index: cc/test/fake_compositor_frame_sink.cc
diff --git a/cc/test/fake_compositor_frame_sink.cc b/cc/test/fake_compositor_frame_sink.cc
index 2907a1c66aa6f9a3c679fe65106356c93277da0f..07047b3b5f168a7518c9d22049b1116072a873c4 100644
--- a/cc/test/fake_compositor_frame_sink.cc
+++ b/cc/test/fake_compositor_frame_sink.cc
@@ -31,9 +31,6 @@ void FakeCompositorFrameSink::SwapBuffers(CompositorFrame frame) {
auto* frame_data = last_sent_frame_->delegated_frame_data.get();
last_swap_rect_ = frame_data->render_pass_list.back()->damage_rect;
last_swap_rect_valid_ = true;
- } else if (context_provider()) {
- last_swap_rect_ = last_sent_frame_->gl_frame_data->sub_buffer_rect;
- last_swap_rect_valid_ = true;
} else {
// Unknown for direct software frames.
danakj 2016/10/04 21:58:40 There's no direct frame here anymore, can you remo
kylechar 2016/10/05 13:45:54 Done.
last_swap_rect_ = gfx::Rect();

Powered by Google App Engine
This is Rietveld 408576698