Linter fixes
authorPaul Betts <paul@paulbetts.org>
Fri, 10 Jul 2015 00:00:19 +0000 (17:00 -0700)
committerPaul Betts <paul@paulbetts.org>
Fri, 10 Jul 2015 00:00:19 +0000 (17:00 -0700)
atom/browser/native_window.cc
atom/renderer/atom_renderer_client.cc

index 031366e..bd5a5c4 100644 (file)
@@ -8,6 +8,10 @@
 #include <utility>
 #include <vector>
 
+#if defined(OS_WIN)
+#include <shlobj.h>
+#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 <shlobj.h>
 #endif
 
 using content::NavigationEntry;
index c052039..178be33 100644 (file)
@@ -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());