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

Unified Diff: content/test/gpu/gpu_tests/maps_integration_test.py

Issue 2944733002: Force sRGB color profile on Mac for pixel tests (Closed)
Patch Set: All platforms 3rd try Created 3 years, 6 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
Index: content/test/gpu/gpu_tests/maps_integration_test.py
diff --git a/content/test/gpu/gpu_tests/maps_integration_test.py b/content/test/gpu/gpu_tests/maps_integration_test.py
index e540cd72acc7f1b41b4cc775cd6e489c0cad527f..2e22599e0eb096d927a555062890b44708664f06 100644
--- a/content/test/gpu/gpu_tests/maps_integration_test.py
+++ b/content/test/gpu/gpu_tests/maps_integration_test.py
@@ -10,6 +10,7 @@ from gpu_tests import gpu_integration_test
from gpu_tests import cloud_storage_integration_test_base
from gpu_tests import maps_expectations
from gpu_tests import path_util
+from gpu_tests import color_profile_manager
from py_utils import cloud_storage
@@ -61,8 +62,9 @@ class MapsIntegrationTest(
@classmethod
def SetUpProcess(cls):
+ color_profile_manager.ForceUntilExitSRGB()
super(MapsIntegrationTest, cls).SetUpProcess()
- cls.CustomizeBrowserArgs([])
+ cls.CustomizeBrowserArgs(['--force-color-profile=srgb'])
cls.StartWPRServer(os.path.join(data_path, 'maps_004.wpr.updated'),
cloud_storage.PUBLIC_BUCKET)
cls.StartBrowser()
« no previous file with comments | « content/test/gpu/gpu_tests/color_profile_manager_mac.py ('k') | content/test/gpu/gpu_tests/pixel_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698