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

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

Issue 1918723002: Mac fullscreen low power: Plumb through to AcceleratedWidgetMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumb
Patch Set: Fix widget test Created 4 years, 8 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9c9c393148019e653bd9beb3e915133657a4d467..da190699d0374d36f7a01a6d3c1ba4f62162c8d5 100644
--- a/content/browser/compositor/software_output_device_mac.mm
+++ b/content/browser/compositor/software_output_device_mac.mm
@@ -145,8 +145,8 @@ void SoftwareOutputDeviceMac::EndPaint() {
base::TimeTicks vsync_timebase;
base::TimeDelta vsync_interval;
ui::AcceleratedWidgetMacGotFrame(
- compositor_->widget(), 0, io_surfaces_[current_index_], pixel_size_,
- scale_factor_, &vsync_timebase, &vsync_interval);
+ compositor_->widget(), 0, false, 0, io_surfaces_[current_index_],
+ pixel_size_, scale_factor_, &vsync_timebase, &vsync_interval);
if (!update_vsync_callback_.is_null())
update_vsync_callback_.Run(vsync_timebase, vsync_interval);
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698