]> khamidou — GitHub mirrors - electron.git/commitdiff
:lipstick: Fix cpplint warnings.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 16 Jun 2014 13:29:18 +0000 (21:29 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 16 Jun 2014 13:29:18 +0000 (21:29 +0800)
atom/renderer/atom_render_view_observer.cc

index ed57df9aa8b6b27cc292c2f7d07505a9438cfd58..e5f9c181a0fbfbb0772c0812d37717d74a608cb0 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "atom/renderer/atom_render_view_observer.h"
 
+#include <string>
 #include <vector>
 
 #include "atom/common/api/api_messages.h"
@@ -36,6 +37,7 @@ AtomRenderViewObserver::~AtomRenderViewObserver() {
 }
 
 void AtomRenderViewObserver::DidCreateDocumentElement(WebKit::WebFrame* frame) {
+  // Read --zoom-factor from command line.
   std::string zoom_factor_str = CommandLine::ForCurrentProcess()->
       GetSwitchValueASCII(switches::kZoomFactor);;
   if (zoom_factor_str.empty())