Index: content/renderer/gpu/mailbox_output_surface.cc |
diff --git a/content/renderer/gpu/mailbox_output_surface.cc b/content/renderer/gpu/mailbox_output_surface.cc |
index d7b13ce3ad361bebff278c43c26e944a9eca233b..84fbf4ed13e914f58cf1ed345b7a92c1ed561591 100644 |
--- a/content/renderer/gpu/mailbox_output_surface.cc |
+++ b/content/renderer/gpu/mailbox_output_surface.cc |
@@ -125,8 +125,6 @@ void MailboxOutputSurface::BindFramebuffer() { |
void MailboxOutputSurface::SendFrameToParentCompositor( |
cc::CompositorFrame* frame) { |
- frame->gl_frame_data.reset(new GLFrameData()); |
- |
DCHECK(!surface_size_.IsEmpty()); |
DCHECK(surface_size_ == current_backing_.size); |
DCHECK(!current_backing_.mailbox.IsZero()); |
@@ -184,9 +182,6 @@ void MailboxOutputSurface::SwapBuffers(const ui::LatencyInfo&) { |
void MailboxOutputSurface::PostSubBuffer(gfx::Rect rect, |
const ui::LatencyInfo&) { |
- NOTIMPLEMENTED() |
- << "Partial swap not supported with composite-to-mailbox yet."; |
- |
// The browser only copies damage correctly for two buffers in use. |
DCHECK(GetNumAcksPending() < 2); |
} |