mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update source files for bracket style
This commit is contained in:
@ -24,8 +24,9 @@ void CefScrollViewImpl::SetContentView(CefRefPtr<CefView> view) {
|
||||
DCHECK(view.get());
|
||||
DCHECK(view->IsValid());
|
||||
DCHECK(!view->IsAttached());
|
||||
if (!view.get() || !view->IsValid() || view->IsAttached())
|
||||
if (!view.get() || !view->IsValid() || view->IsAttached()) {
|
||||
return;
|
||||
}
|
||||
|
||||
root_view()->SetContents(view_util::PassOwnership(view));
|
||||
}
|
||||
|
Reference in New Issue
Block a user