| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/compositor/offscreen_browser_compositor_output_surface
.h" | 5 #include "content/browser/compositor/offscreen_browser_compositor_output_surface
.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 } | 174 } |
| 175 | 175 |
| 176 void OffscreenBrowserCompositorOutputSurface::OnReflectorChanged() { | 176 void OffscreenBrowserCompositorOutputSurface::OnReflectorChanged() { |
| 177 if (reflector_) { | 177 if (reflector_) { |
| 178 reflector_changed_ = true; | 178 reflector_changed_ = true; |
| 179 EnsureBackbuffer(); | 179 EnsureBackbuffer(); |
| 180 } | 180 } |
| 181 } | 181 } |
| 182 | 182 |
| 183 void OffscreenBrowserCompositorOutputSurface::OnSwapBuffersComplete() { | 183 void OffscreenBrowserCompositorOutputSurface::OnSwapBuffersComplete() { |
| 184 client_->DidSwapBuffersComplete(); | 184 client_->DidReceiveSwapBuffersAck(); |
| 185 } | 185 } |
| 186 | 186 |
| 187 } // namespace content | 187 } // namespace content |
| OLD | NEW |