💄 Fix cpplint warnings.
This commit is contained in:
parent
05f079fa5b
commit
054daadc33
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "atom/renderer/atom_render_view_observer.h"
|
#include "atom/renderer/atom_render_view_observer.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "atom/common/api/api_messages.h"
|
#include "atom/common/api/api_messages.h"
|
||||||
|
@ -36,6 +37,7 @@ AtomRenderViewObserver::~AtomRenderViewObserver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AtomRenderViewObserver::DidCreateDocumentElement(WebKit::WebFrame* frame) {
|
void AtomRenderViewObserver::DidCreateDocumentElement(WebKit::WebFrame* frame) {
|
||||||
|
// Read --zoom-factor from command line.
|
||||||
std::string zoom_factor_str = CommandLine::ForCurrentProcess()->
|
std::string zoom_factor_str = CommandLine::ForCurrentProcess()->
|
||||||
GetSwitchValueASCII(switches::kZoomFactor);;
|
GetSwitchValueASCII(switches::kZoomFactor);;
|
||||||
if (zoom_factor_str.empty())
|
if (zoom_factor_str.empty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue