diff options
Diffstat (limited to 'docshell/base/BrowsingContextWebProgress.cpp')
-rw-r--r-- | docshell/base/BrowsingContextWebProgress.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docshell/base/BrowsingContextWebProgress.cpp b/docshell/base/BrowsingContextWebProgress.cpp index 7c915bd666..3b0096377c 100644 --- a/docshell/base/BrowsingContextWebProgress.cpp +++ b/docshell/base/BrowsingContextWebProgress.cpp @@ -170,7 +170,10 @@ void BrowsingContextWebProgress::ContextReplaced( already_AddRefed<BounceTrackingState> BrowsingContextWebProgress::GetBounceTrackingState() { if (!mBounceTrackingState) { - mBounceTrackingState = BounceTrackingState::GetOrCreate(this); + nsresult rv = NS_OK; + mBounceTrackingState = BounceTrackingState::GetOrCreate(this, rv); + NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), + "Failed to get BounceTrackingState."); } return do_AddRef(mBounceTrackingState); } |