| Index: ui/gfx/mac/io_surface.cc
|
| diff --git a/ui/gfx/mac/io_surface.cc b/ui/gfx/mac/io_surface.cc
|
| index 3560790b28138f1b11f1145ec5024cd31562edc6..c68c9f679002984f3abdc78a36afa492c692b6cf 100644
|
| --- a/ui/gfx/mac/io_surface.cc
|
| +++ b/ui/gfx/mac/io_surface.cc
|
| @@ -164,7 +164,7 @@ IOSurfaceRef CreateIOSurface(const gfx::Size& size, gfx::BufferFormat format) {
|
| // https://crbug.com/594343.
|
| // IOSurface clearing causes significant performance regression on about half
|
| // of all devices running Yosemite. https://crbug.com/606850#c22.
|
| - bool should_clear = !base::mac::IsOS10_9() && !base::mac::IsOS10_10();
|
| + bool should_clear = base::mac::IsAtLeastOS10_11();
|
|
|
| if (should_clear) {
|
| // Zero-initialize the IOSurface. Calling IOSurfaceLock/IOSurfaceUnlock
|
|
|