mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1179451 - Part 3: Use .get() to assign nsRefPtrs to raw pointers. r=froydnj
This commit is contained in:
parent
2e17de3e1e
commit
64b9b8d79d
@ -41,7 +41,7 @@ PluginScriptableObjectChild::IdentifierTable PluginScriptableObjectChild::sIdent
|
||||
/* static */ PluginScriptableObjectChild::StoredIdentifier*
|
||||
PluginScriptableObjectChild::HashIdentifier(const nsCString& aIdentifier)
|
||||
{
|
||||
StoredIdentifier* stored = sIdentifiers.Get(aIdentifier);
|
||||
StoredIdentifier* stored = sIdentifiers.Get(aIdentifier).get();
|
||||
if (stored) {
|
||||
return stored;
|
||||
}
|
||||
|
@ -895,7 +895,7 @@ nsToolkitProfileService::CreateProfileInternal(nsIFile* aRootDir,
|
||||
rv = CreateTimesInternal(rootDir);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsToolkitProfile* last = aForExternalApp ? nullptr : mFirst;
|
||||
nsToolkitProfile* last = aForExternalApp ? nullptr : mFirst.get();
|
||||
if (last) {
|
||||
while (last->mNext)
|
||||
last = last->mNext;
|
||||
|
Loading…
Reference in New Issue
Block a user