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

Unified Diff: content/test/layouttest_support.cc

Issue 2217463003: Color profile layout test cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | third_party/WebKit/LayoutTests/fast/images/color-profile-animate.html » ('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 0caf15c31ba7a033a3e05ac9009ad7a5cd53fbaf..7e2a5beb5701ccc01fd3b6d3b5f7b94693b22212 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -361,7 +361,7 @@ void SetDeviceColorProfile(RenderView* render_view, const std::string& name) {
std::vector<char> color_profile;
- struct TestColorProfile { // A whacked (aka color spin) profile.
+ struct TestColorProfile { // A color spin profile.
char* data() {
static unsigned char color_profile_data[] = {
0x00,0x00,0x01,0xea,0x54,0x45,0x53,0x54,0x00,0x00,0x00,0x00,
@@ -479,7 +479,7 @@ void SetDeviceColorProfile(RenderView* render_view, const std::string& name) {
if (name == "sRGB") {
color_profile.assign(name.data(), name.data() + name.size());
- } else if (name == "test" || name == "whacked") {
+ } else if (name == "test" || name == "colorSpin") {
TestColorProfile test;
color_profile.assign(test.data(), test.data() + test.size());
} else if (name == "adobeRGB") {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/images/color-profile-animate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698