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

Unified Diff: content/test/gpu/gpu_tests/pixel_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
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_expectations.py ('k') | content/test/gpu/gpu_tests/pixel_test_pages.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/pixel_integration_test.py
diff --git a/content/test/gpu/gpu_tests/pixel_integration_test.py b/content/test/gpu/gpu_tests/pixel_integration_test.py
index cbeca3d32596231e7d7749908a4b25ab743c194c..004cf5a84c53d601b6efcc74b34da787bc2eaf32 100644
--- a/content/test/gpu/gpu_tests/pixel_integration_test.py
+++ b/content/test/gpu/gpu_tests/pixel_integration_test.py
@@ -11,6 +11,7 @@ from gpu_tests import cloud_storage_integration_test_base
from gpu_tests import path_util
from gpu_tests import pixel_expectations
from gpu_tests import pixel_test_pages
+from gpu_tests import color_profile_manager
from py_utils import cloud_storage
from telemetry.util import image_util
@@ -55,6 +56,7 @@ class PixelIntegrationTest(
@classmethod
def SetUpProcess(cls):
+ color_profile_manager.ForceUntilExitSRGB()
super(PixelIntegrationTest, cls).SetUpProcess()
cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
cls.StartBrowser()
@@ -66,6 +68,7 @@ class PixelIntegrationTest(
browser_args = []
# All tests receive the following options.
return [
+ '--force-color-profile=srgb',
'--enable-gpu-benchmarking',
'--test-type=gpu'] + browser_args
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_expectations.py ('k') | content/test/gpu/gpu_tests/pixel_test_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698