Fix cpplint errors in browser_main_parts.cc

This commit is contained in:
Adam Roben 2013-11-17 17:51:19 -05:00
parent cc4aeb995b
commit a35a57c3c4

View file

@ -19,8 +19,10 @@ void BrowserMainParts::PreMainMessageLoopRun() {
browser_context_.reset(CreateBrowserContext());
browser_context_->Initialize();
web_ui_controller_factory_.reset(new WebUIControllerFactory(browser_context_.get()));
content::WebUIControllerFactory::RegisterFactory(web_ui_controller_factory_.get());
web_ui_controller_factory_.reset(
new WebUIControllerFactory(browser_context_.get()));
content::WebUIControllerFactory::RegisterFactory(
web_ui_controller_factory_.get());
}
void BrowserMainParts::PostMainMessageLoopRun() {
@ -31,4 +33,4 @@ BrowserContext* BrowserMainParts::CreateBrowserContext() {
return new BrowserContext;
}
}
} // namespace brightray