Index: cc/output/output_surface.cc |
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc |
index 46096d2e3094febd271e31a47c8668fbc1158ea2..8d84cfb054a6f120172f9bcae8f80a2e56fb709f 100644 |
--- a/cc/output/output_surface.cc |
+++ b/cc/output/output_surface.cc |
@@ -342,10 +342,14 @@ void OutputSurface::UpdateAndMeasureGpuLatency() { |
void OutputSurface::PostSwapBuffersComplete() { |
base::MessageLoop::current()->PostTask( |
FROM_HERE, |
- base::Bind(&OutputSurface::OnSwapBuffersComplete, |
+ base::Bind(&OutputSurface::DoOnSwapBuffersComplete, |
danakj
2014/06/12 01:16:51
Does virtual method in a posttask not do what you'
ccameron
2014/06/12 01:28:25
I was under the impression that a virtual method s
|
weak_ptr_factory_.GetWeakPtr())); |
} |
+void OutputSurface::DoOnSwapBuffersComplete() { |
+ OnSwapBuffersComplete(); |
+} |
+ |
// We don't post tasks bound to the client directly since they might run |
// after the OutputSurface has been destroyed. |
void OutputSurface::OnSwapBuffersComplete() { |