Allow empty |client| parameter to CreateBrowser and CreateBrowserSync.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@949 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-12-12 14:43:57 +00:00
parent b66a48bb1c
commit 9accdc8b01
3 changed files with 6 additions and 22 deletions

View File

@@ -219,7 +219,7 @@ class CefBrowserHost : public virtual CefBase {
// will be created on the UI thread. This method can be called on any browser
// process thread and will not block.
///
/*--cef(optional_param=url)--*/
/*--cef(optional_param=client,optional_param=url)--*/
static bool CreateBrowser(const CefWindowInfo& windowInfo,
CefRefPtr<CefClient> client,
const CefString& url,
@@ -230,7 +230,7 @@ class CefBrowserHost : public virtual CefBase {
// |windowInfo|. This method can only be called on the browser process UI
// thread.
///
/*--cef(optional_param=url)--*/
/*--cef(optional_param=client,optional_param=url)--*/
static CefRefPtr<CefBrowser> CreateBrowserSync(
const CefWindowInfo& windowInfo,
CefRefPtr<CefClient> client,