Index: ui/gl/test/gl_image_test_template.h |
diff --git a/ui/gl/test/gl_image_test_template.h b/ui/gl/test/gl_image_test_template.h |
index f12bafbe9d527006bcdb357089fa62d8a0ddedea..cdd4fbab7803a3d244366074185b06c639587ba8 100644 |
--- a/ui/gl/test/gl_image_test_template.h |
+++ b/ui/gl/test/gl_image_test_template.h |
@@ -223,14 +223,11 @@ TYPED_TEST_CASE_P(GLImageZeroInitializeTest); |
TYPED_TEST_P(GLImageZeroInitializeTest, ZeroInitialize) { |
#if defined(OS_MACOSX) |
- // This functionality is disabled on Mavericks because it breaks PDF |
- // rendering. https://crbug.com/594343. |
- if (base::mac::IsOS10_9()) |
- return; |
- |
- // This functionality is disabled on Yosemite because it is suspected of |
- // causing performance regressions on old hardware. https://crbug.com/606850. |
- if (base::mac::IsOS10_10()) |
+ // This functionality is disabled on Mavericks and Yosemite because… |
+ // - On Mavericks, it breaks PDF rendering: https://crbug.com/594343. |
+ // - On Yosemite, it is suspected of causing performance regressions on old |
+ // hardware: https://crbug.com/606850. |
+ if (!base::mac::IsAtLeastOS10_11()) |
return; |
#endif |