From 39c6e2d2e52503b22c81d65cbced8f3fb9a3070f Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Thu, 9 Jul 2015 17:00:19 -0700 Subject: [PATCH] Linter fixes --- atom/browser/native_window.cc | 5 ++++- atom/renderer/atom_renderer_client.cc | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 031366e1df..bd5a5c4666 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -8,6 +8,10 @@ #include #include +#if defined(OS_WIN) +#include +#endif + #include "atom/browser/atom_browser_context.h" #include "atom/browser/atom_browser_main_parts.h" #include "atom/browser/browser.h" @@ -50,7 +54,6 @@ #if defined(OS_WIN) #include "ui/gfx/switches.h" -#include #endif using content::NavigationEntry; diff --git a/atom/renderer/atom_renderer_client.cc b/atom/renderer/atom_renderer_client.cc index c052039173..178be33900 100644 --- a/atom/renderer/atom_renderer_client.cc +++ b/atom/renderer/atom_renderer_client.cc @@ -92,8 +92,10 @@ void AtomRendererClient::WebKitInitialized() { blink::WebCustomElement::addEmbedderCustomElementName("browserplugin"); #if defined(OS_WIN) - base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); - base::string16 explicit_app_id = command_line->GetSwitchValueNative(switches::kAppUserModelId); + base::CommandLine* command_line = + base::CommandLine::ForCurrentProcess(); + base::string16 explicit_app_id = + command_line->GetSwitchValueNative(switches::kAppUserModelId); if (explicit_app_id.length() > 0) { SetCurrentProcessExplicitAppUserModelID(explicit_app_id.c_str());