Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: content/browser/compositor/offscreen_browser_compositor_output_surface.cc

Issue 2403373002: cc: Clean up OutputSurfaceClient. (Closed)
Patch Set: osclient: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698