Index: content/renderer/render_widget.cc |
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
index 0541afe311f539e07552d9055e37bbf46ad7af5e..7b2f48a79374a43eac861a774551293f251a451c 100644 |
--- a/content/renderer/render_widget.cc |
+++ b/content/renderer/render_widget.cc |
@@ -922,10 +922,12 @@ void RenderWidget::didActivateAcceleratedCompositing(bool active) { |
Send(new ViewHostMsg_DidActivateAcceleratedCompositing( |
routing_id_, is_accelerated_compositing_active_)); |
+#ifndef WTF_USE_THREADED_COMPOSITING |
if (active) |
using_asynchronous_swapbuffers_ = SupportsAsynchronousSwapBuffers(); |
else if (using_asynchronous_swapbuffers_) |
using_asynchronous_swapbuffers_ = false; |
+#endif |
} |
void RenderWidget::scheduleComposite() { |