Index: content/renderer/gpu/compositor_output_surface.cc |
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc |
index e44f83274500824448f3acccf58e912031093eb8..f5b66e0e7a83d1d660230ceaad37b50611a98471 100644 |
--- a/content/renderer/gpu/compositor_output_surface.cc |
+++ b/content/renderer/gpu/compositor_output_surface.cc |
@@ -69,7 +69,7 @@ CompositorOutputSurface::CompositorOutputSurface( |
DetachFromThread(); |
message_sender_ = RenderThreadImpl::current()->sync_message_filter(); |
DCHECK(message_sender_.get()); |
- if (software_device) |
+ if (OutputSurface::software_device()) |
capabilities_.max_frames_pending = 1; |
} |