mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
55aa51e408
Selection::LookUpSelection()'s only caller, nsFrameSelection::LookUpSelection(), doesn't check the return value. Let's make it return UniquePtr directly like nsFrameSelection::LookUpSelection(). Rename aReturnDetails to aDetailsHead so that its role is clearer. aDetailsHead is of type UniquePtr<SelectionDetails> instead of UniquePtr<SelectionDetails>&& because the caller always wants to transfer the ownership of SelectionDetails into the function. MozReview-Commit-ID: 89Y7X1LTKON --HG-- extra : rebase_source : 730d601ccb87eb2b616c0a021129752ed5301a3a |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |