mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-04-12 16:37:15 +00:00
#631: M1607762 M1654620
This commit is contained in:
parent
bc7189521a
commit
7a7bba46e7
@ -589,6 +589,8 @@ nsTreeBodyFrame::GetSelectionRegion(nsIScriptableRegion **aRegion)
|
||||
{
|
||||
*aRegion = nullptr;
|
||||
|
||||
if (!mView) return NS_OK;
|
||||
|
||||
nsCOMPtr<nsITreeSelection> selection;
|
||||
mView->GetSelection(getter_AddRefs(selection));
|
||||
NS_ENSURE_TRUE(selection, NS_OK);
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
nsrefcnt AddRef();
|
||||
nsrefcnt Release();
|
||||
private:
|
||||
nsAutoRefCnt mRefCnt;
|
||||
mozilla::ThreadSafeAutoRefCnt mRefCnt;
|
||||
};
|
||||
|
||||
#endif // nsHtml5OwningUTF16Buffer_h
|
||||
|
Loading…
x
Reference in New Issue
Block a user