blob: 0eee152db4c4e3102da18e1c1023a1aa86e50929 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ui/compositor/compositor.cc.orig 2020-07-07 21:58:19 UTC
+++ ui/compositor/compositor.cc
@@ -740,7 +740,7 @@ void Compositor::CancelThroughtputTracker(TrackerId tr
throughput_tracker_map_.erase(tracker_id);
}
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
void Compositor::OnCompleteSwapWithNewSize(const gfx::Size& size) {
for (auto& observer : observer_list_)
observer.OnCompositingCompleteSwapWithNewSize(this, size);
|