Use scoped_refptr<> instead of raw pointer

git-svn-id: http://chromiumembedded.googlecode.com/svn/trunk/cef3@1495 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
Fix automate.py --dry-run output.

git-svn-id: http://chromiumembedded.googlecode.com/svn/trunk/cef3@1497 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
Fix a crash when closing an off-screen browser with no references (issue #1121).

git-svn-id: http://chromiumembedded.googlecode.com/svn/trunk/cef3@1500 5089003a-bbd8-11dd-ad1f-f1f9622dbc98