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

Unified Diff: content/shell/renderer/test_runner/test_runner.cc

Issue 561453004: Add RenderView ResetDeviceColorProfileForTesting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index 1e124673fc6dd1b4738c5d87399682af4e600168..6dc82ea3aedccadc7bcac3d11b1453f62f9426d7 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -1563,7 +1563,7 @@ void TestRunner::Reset() {
if (delegate_) {
// Reset the default quota for each origin to 5MB
delegate_->setDatabaseQuota(5 * 1024 * 1024);
- delegate_->setDeviceColorProfile("sRGB");
+ delegate_->setDeviceColorProfile("reset");
delegate_->setDeviceScaleFactor(1);
delegate_->setAcceptAllCookies(false);
delegate_->setLocale("");
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698