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:
@ -68,8 +68,9 @@ WeakReferenceOwner::~WeakReferenceOwner() {
|
||||
|
||||
WeakReference WeakReferenceOwner::GetRef() const {
|
||||
// If we hold the last reference to the Flag then detach the ThreadChecker.
|
||||
if (!HasRefs())
|
||||
if (!HasRefs()) {
|
||||
flag_->DetachFromThread();
|
||||
}
|
||||
|
||||
return WeakReference(flag_);
|
||||
}
|
||||
|
Reference in New Issue
Block a user