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

Unified Diff: content/test/layouttest_support.cc

Issue 2898583002: color: Fix color not being reset between layout tests (Closed)
Patch Set: Review feedbakc Created 3 years, 7 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/renderer/render_widget.cc ('k') | ui/gfx/icc_profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index dff10a62dfdd3c68b87582b536b6fa0c0f596575..4ea8d78da5d581aad99f74b6d5312de85f4ed263 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -497,6 +497,8 @@ gfx::ICCProfile GetTestingICCProfile(const std::string& name) {
return gfx::ICCProfileForTestingColorSpin();
} else if (name == "adobeRGB") {
return gfx::ICCProfileForTestingAdobeRGB();
+ } else if (name == "reset") {
+ return gfx::ICCProfileForLayoutTests();
}
return gfx::ICCProfile();
}
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/gfx/icc_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698