Maybe CurrentWebView() is NULL too...
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@400 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
1137289fbc
commit
1cad765a3b
@ -1224,6 +1224,7 @@ BrowserWindow::_TabChanged(int32 index)
|
||||
if (webView == CurrentWebView())
|
||||
return;
|
||||
|
||||
if (CurrentWebView() != NULL)
|
||||
CurrentWebView()->SetUserData(new PageUserData(CurrentFocus()));
|
||||
|
||||
SetCurrentWebView(webView);
|
||||
|
Loading…
Reference in New Issue
Block a user