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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2936163002: Re-enable media query API test (Closed)
Patch Set: Just API 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 | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 2cec6d9592482f086df2d5f70a2b0ddd0a7a3b37..16c58b5658665a6339d669556f48dda112acb34c 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2477,16 +2477,6 @@ void RenderViewImpl::SetDeviceScaleFactorForTesting(float factor) {
void RenderViewImpl::SetDeviceColorProfileForTesting(
const gfx::ICCProfile& icc_profile) {
- // TODO(ccameron): Remove this call when color correct rendering is the
- // default.
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableColorCorrectRendering)) {
- return;
- }
-
- if (webview())
- webview()->SetDeviceColorProfile(icc_profile);
-
ResizeParams params;
params.screen_info = screen_info_;
params.screen_info.icc_profile = icc_profile;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698