Index: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc |
diff --git a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc |
index 62b1aae4d90de94ae0931dda2379166a0c781589..9507cc31148d7f6d4369d80847bac07250ddaefd 100644 |
--- a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc |
@@ -98,9 +98,6 @@ |
void GpuSurfacelessBrowserCompositorOutputSurface::OnSwapBuffersCompleted( |
const std::vector<ui::LatencyInfo>& latency_info, |
gfx::SwapResult result) { |
-#if defined(OS_MACOSX) |
- NOTREACHED(); |
-#else |
if (result == gfx::SwapResult::SWAP_NAK_RECREATE_BUFFERS) { |
// Even through the swap failed, this is a fixable error so we can pretend |
// it succeeded to the rest of the system. |
@@ -109,7 +106,6 @@ |
} |
GpuBrowserCompositorOutputSurface::OnSwapBuffersCompleted(latency_info, |
result); |
-#endif |
} |
#if defined(OS_MACOSX) |