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

Unified Diff: content/browser/compositor/software_browser_compositor_output_surface.cc

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix reflector Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/software_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/software_browser_compositor_output_surface.cc b/content/browser/compositor/software_browser_compositor_output_surface.cc
index ed1afe38bb3ec8d0e134645231b99989b574c382..8e2d2b76cc36ec0a6334fac40e2d6d3ec336e650 100644
--- a/content/browser/compositor/software_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/software_browser_compositor_output_surface.cc
@@ -34,7 +34,7 @@ SoftwareBrowserCompositorOutputSurface::
}
void SoftwareBrowserCompositorOutputSurface::SwapBuffers(
- cc::CompositorFrame* frame) {
+ std::unique_ptr<cc::CompositorFrame> frame) {
base::TimeTicks swap_time = base::TimeTicks::Now();
for (auto& latency : frame->metadata.latency_info) {
latency.AddLatencyNumberWithTimestamp(

Powered by Google App Engine
This is Rietveld 408576698