| Index: content/browser/renderer_host/render_view_host.cc
|
| diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
|
| index 24e09f55cf511df9b1d076acc4b5ed677e055b07..6d610b00b725ff084f5375525488ad7e36bee9d6 100644
|
| --- a/content/browser/renderer_host/render_view_host.cc
|
| +++ b/content/browser/renderer_host/render_view_host.cc
|
| @@ -45,6 +45,7 @@
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/content_constants.h"
|
| +#include "content/public/common/content_switches.h"
|
| #include "content/public/common/result_codes.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "net/base/net_util.h"
|
| @@ -209,6 +210,10 @@ bool RenderViewHost::CreateRenderView(const string16& frame_name,
|
| // Let our delegate know that we created a RenderView.
|
| delegate_->RenderViewCreated(this);
|
|
|
| + // Invert the color scheme if a flag was set.
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kInvertWebContent))
|
| + Send(new ViewMsg_InvertWebContent(routing_id(), true));
|
| +
|
| FOR_EACH_OBSERVER(
|
| content::RenderViewHostObserver, observers_, RenderViewHostInitialized());
|
|
|
|
|