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

Unified Diff: ui/gl/test/gl_image_test_template.h

Issue 2288003002: Delete IsAtLeastOS10_9() and IsAtMostOS10_9() (Closed)
Patch Set: Rebase, cancel the more confusing changes Created 4 years, 4 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 | « ui/gfx/mac/io_surface.cc ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/gfx/mac/io_surface.cc ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698