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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10534099: Delete code used to invert web content for high-contrast mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added back include that's needed by other code Created 8 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 | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index eba176fdee120264173b85e1f82a7189bdff9679..479a8cf1e5914aa20aa21dc3b99e450a5374755b 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -288,11 +288,6 @@ bool RenderViewHostImpl::CreateRenderView(
// Let our delegate know that we created a RenderView.
delegate_->RenderViewCreated(this);
- // Invert the color scheme if a flag is set.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kInvertWebContent))
- Send(new ViewMsg_InvertWebContent(GetRoutingID(), true));
-
FOR_EACH_OBSERVER(
content::RenderViewHostObserver, observers_, RenderViewHostInitialized());
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698