Bug 1659520 - Use explicit type arguments for SyncedContext field setters, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D87466
This commit is contained in:
@@ -1773,7 +1773,10 @@ nsDocShell::GetAllowContentRetargeting(bool* aAllowContentRetargeting) {
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::SetAllowContentRetargeting(bool aAllowContentRetargeting) {
|
||||
return mBrowsingContext->SetAllowContentRetargeting(aAllowContentRetargeting);
|
||||
BrowsingContext::Transaction txn;
|
||||
txn.SetAllowContentRetargeting(aAllowContentRetargeting);
|
||||
txn.SetAllowContentRetargetingOnChildren(aAllowContentRetargeting);
|
||||
return txn.Commit(mBrowsingContext);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user