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

Unified Diff: content/browser/compositor/software_output_device_mac.mm

Issue 1416493010: Clean up Mac swap acknowledgement code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update latency info Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/software_output_device_mac.mm
diff --git a/content/browser/compositor/software_output_device_mac.mm b/content/browser/compositor/software_output_device_mac.mm
index 9f0f7e46a1f53fe56601f7f268439ccfd4e62704..657b46fa471332049fe8cd125638e438daeae663 100644
--- a/content/browser/compositor/software_output_device_mac.mm
+++ b/content/browser/compositor/software_output_device_mac.mm
@@ -140,9 +140,9 @@ void SoftwareOutputDeviceMac::EndPaint() {
}
canvas_ = nullptr;
- ui::AcceleratedWidgetMacGotIOSurfaceFrame(compositor_->widget(),
- io_surfaces_[current_index_],
- pixel_size_, scale_factor_, false);
+ ui::AcceleratedWidgetMacGotFrame(compositor_->widget(), 0,
+ io_surfaces_[current_index_], pixel_size_,
+ scale_factor_, nullptr, nullptr);
current_index_ = !current_index_;
}

Powered by Google App Engine
This is Rietveld 408576698