mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 299235 - fix gcc4 build bustage from bug 236300 (Safari profile migrator). r=mento, sr=smfr, a=bsmedberg.
This commit is contained in:
parent
eccc356599
commit
fe022eaa40
@ -328,7 +328,7 @@ GetArrayStringValue(CFArrayRef aArray, PRInt32 aIndex, nsAString& aResult)
|
||||
|
||||
#define _SPM(type) nsSafariProfileMigrator::type
|
||||
|
||||
static const
|
||||
static
|
||||
nsSafariProfileMigrator::PrefTransform gTransforms[] = {
|
||||
{ CFSTR("AlwaysShowTabBar"), _SPM(BOOL), "browser.tabs.autoHide", _SPM(SetBoolInverted), PR_FALSE, -1 },
|
||||
{ CFSTR("AutoFillPasswords"), _SPM(BOOL), "signon.rememberSignons", _SPM(SetBool), PR_FALSE, -1 },
|
||||
@ -664,8 +664,8 @@ nsSafariProfileMigrator::CopyPreferences(PRBool aReplace)
|
||||
|
||||
// Traverse the standard transforms
|
||||
PrefTransform* transform;
|
||||
const PrefTransform* end = gTransforms +
|
||||
sizeof(gTransforms) / sizeof(PrefTransform);
|
||||
PrefTransform* end = gTransforms +
|
||||
sizeof(gTransforms) / sizeof(PrefTransform);
|
||||
|
||||
for (transform = gTransforms; transform < end; ++transform) {
|
||||
Boolean hasValue = ::CFDictionaryContainsKey(safariPrefs, transform->keyName);
|
||||
|
Loading…
Reference in New Issue
Block a user