Commit 1c5dae60 authored by andersca@apple.com's avatar andersca@apple.com

2008-11-05 Anders Carlsson <andersca@apple.com>

        Fix 64-bit build.

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (setDefaultsToConsistentValuesForTesting):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 65ddc82f
2008-11-05 Anders Carlsson <andersca@apple.com>
Fix 64-bit build.
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
2008-11-04 Simon Fraser <simon.fraser@apple.com>
Add AccessibilityObject.o to the exclude list for the
......
......@@ -322,8 +322,11 @@ static void setDefaultsToConsistentValuesForTesting()
[defaults setObject:@"DoubleMax" forKey:@"AppleScrollBarVariant"];
RetainPtr<CFTypeRef> initialValue = CFPreferencesCopyValue(CFSTR("AppleScrollBarVariant"), kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
CFPreferencesSetValue(CFSTR("AppleScrollBarVariant"), CFSTR("DoubleMax"), kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
#ifndef __LP64__
// See <rdar://problem/6347388>.
ThemeScrollBarArrowStyle style;
GetThemeScrollBarArrowStyle(&style); // Force HIToolbox to read from CFPreferences
#endif
if (initialValue)
CFPreferencesSetValue(CFSTR("AppleScrollBarVariant"), initialValue.get(), kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment