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

Unified Diff: content/test/layouttest_support.cc

Issue 2216073002: Color: Add ColorCorrectRendering flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decoder_profile
Patch Set: Rebase 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 | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/page/Page.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 746d0ad4e037f0560aec1e0fb493000f8a575211..d1cfcca2c172fce980faaf6ef970b8c9673f2159 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -352,13 +352,6 @@ float GetWindowToViewportScale(RenderView* render_view) {
}
void SetDeviceColorProfile(RenderView* render_view, const std::string& name) {
- if (name == "reset") {
- static_cast<RenderViewImpl*>(render_view)
- ->GetWidget()
- ->ResetDeviceColorProfileForTesting();
- return;
- }
-
std::vector<char> color_profile;
struct TestColorProfile { // A color spin profile.
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698