Fix crash when using protocol module on startup.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 20 Sep 2013 10:32:05 +0000 (18:32 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 20 Sep 2013 10:32:05 +0000 (18:32 +0800)
commit92e157de3036e801e11f1e4b8a2faab5c48a55b4
treee7e625f35d2df3ac64661a4cd34e8cc9c1aa47ea
parentc908cae72c66dca3218aa100400e0a781e0b4106
Fix crash when using protocol module on startup.

The job factory was not created before any request was sent, so when the
app used the protocol module on startup it would cause a crash.
browser/atom_browser_main_parts.cc
spec/main.js