From: Paul Betts Date: Fri, 10 Jul 2015 00:00:19 +0000 (-0700) Subject: Linter fixes X-Git-Tag: v0.30.0~33^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=39c6e2d2e52503b22c81d65cbced8f3fb9a3070f;p=electron.git Linter fixes --- diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 031366e1..bd5a5c46 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 c0520391..178be339 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());