- Add support for running unit tests without multi-threaded message loop mode (issue #338).

- Mac: Fix unit test expectations.
- Mac: cef_time_t.day_of_week is not supported.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@448 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-12-30 20:55:16 +00:00
parent 893176fe5a
commit 8d6c760bbd
20 changed files with 3353 additions and 39 deletions

View File

@@ -789,6 +789,9 @@ void CefBrowserImpl::UIT_DestroyBrowser()
UIT_GetWebViewHost()->webwidget()->close();
webviewhost_.reset();
// Remove the reference to the window handle.
UIT_ClearMainWndHandle();
// Remove the reference added in UIT_CreateBrowser().
Release();
@@ -802,7 +805,9 @@ void CefBrowserImpl::UIT_CloseBrowser()
if (IsWindowRenderingDisabled()) {
UIT_DestroyBrowser();
} else {
UIT_CloseView(UIT_GetMainWndHandle());
gfx::NativeView view = UIT_GetMainWndHandle();
if (view)
UIT_CloseView(view);
}
}