Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
This commit is contained in:
@@ -484,7 +484,7 @@ UploadLastDir::ContentPrefCallback::HandleCompletion(uint16_t aReason)
|
||||
nsAutoString prefStr;
|
||||
|
||||
if (aReason == nsIContentPrefCallback2::COMPLETE_ERROR || !mResult) {
|
||||
prefStr = Preferences::GetString("dom.input.fallbackUploadDir");
|
||||
Preferences::GetString("dom.input.fallbackUploadDir", prefStr);
|
||||
}
|
||||
|
||||
if (prefStr.IsEmpty() && mResult) {
|
||||
|
||||
Reference in New Issue
Block a user