mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
followup for Bug 392193 - first run migration / import from ie, opera and safari browser can be slow, migration should use "run in batch". Fix Opera migrator regression. r=sdwilsh
This commit is contained in:
parent
cfc1954b44
commit
40d2e8bc03
@ -1216,7 +1216,11 @@ nsOperaProfileMigrator::CopySmartKeywords(nsINavBookmarksService* aBMS,
|
||||
section.AppendInt(sectionIndex++);
|
||||
|
||||
rv = parser.GetString(section.get(), "Name", name);
|
||||
if (NS_FAILED(rv) || name.IsEmpty())
|
||||
if (NS_FAILED(rv)) {
|
||||
// No more smart keywords found, stop parsing the file.
|
||||
break;
|
||||
}
|
||||
if (name.IsEmpty())
|
||||
continue;
|
||||
|
||||
rv = parser.GetString(section.get(), "URL", url);
|
||||
|
Loading…
Reference in New Issue
Block a user