Changeset 192001 in webkit
- Timestamp:
- Nov 3, 2015, 5:01:34 PM (10 years ago)
- Location:
- tags/Safari-602.1.9.1/Source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-602.1.9.1/Source/WebCore/ChangeLog
r191984 r192001 1 2015-11-03 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r191999. 4 5 2015-11-03 Geoffrey Garen <ggaren@apple.com> 6 7 Provide a way to turn off const in WebKit2. 8 9 Reviewed by Sam Weinig. 10 11 * bindings/js/JSDOMWindowBase.cpp: 12 (WebCore::JSDOMWindowBase::commonVM): 13 * page/Settings.h: 14 (WebCore::Settings::shouldUseHighResolutionTimers): 15 (WebCore::Settings::shouldRewriteConstAsVar): 16 (WebCore::Settings::setShouldRewriteConstAsVar): 17 (WebCore::Settings::backgroundShouldExtendBeyondPage): 18 1 19 2015-11-03 Babak Shafiei <bshafiei@apple.com> 2 20 -
tags/Safari-602.1.9.1/Source/WebCore/bindings/js/JSDOMWindowBase.cpp
r191984 r192001 260 260 261 261 #if PLATFORM(MAC) 262 if (applicationIsITunes() || applicationIsIBooks() )262 if (applicationIsITunes() || applicationIsIBooks() || Settings::shouldRewriteConstAsVar()) 263 263 vm->setShouldRewriteConstAsVar(true); 264 264 #endif -
tags/Safari-602.1.9.1/Source/WebCore/page/Settings.cpp
r189129 r192001 85 85 #endif 86 86 87 bool Settings::gShouldRewriteConstAsVar = false; 87 88 bool Settings::gShouldRespectPriorityInCSSAttributeSetters = false; 88 89 bool Settings::gLowPowerVideoAudioBufferSizeEnabled = false; -
tags/Safari-602.1.9.1/Source/WebCore/page/Settings.h
r188234 r192001 195 195 #endif 196 196 197 static bool shouldRewriteConstAsVar() { return gShouldRewriteConstAsVar; } 198 static void setShouldRewriteConstAsVar(bool shouldRewriteConstAsVar) { gShouldRewriteConstAsVar = shouldRewriteConstAsVar; } 199 197 200 WEBCORE_EXPORT void setBackgroundShouldExtendBeyondPage(bool); 198 201 bool backgroundShouldExtendBeyondPage() const { return m_backgroundShouldExtendBeyondPage; } … … 348 351 static bool gShouldUseHighResolutionTimers; 349 352 #endif 353 WEBCORE_EXPORT static bool gShouldRewriteConstAsVar; 350 354 static bool gShouldRespectPriorityInCSSAttributeSetters; 351 355 #if PLATFORM(IOS) -
tags/Safari-602.1.9.1/Source/WebKit2/ChangeLog
r191684 r192001 1 2015-11-03 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r191999. 4 5 2015-11-03 Geoffrey Garen <ggaren@apple.com> 6 7 Provide a way to turn off const in WebKit2. 8 9 Reviewed by Sam Weinig. 10 11 * Shared/WebProcessCreationParameters.cpp: 12 (WebKit::WebProcessCreationParameters::encode): 13 (WebKit::WebProcessCreationParameters::decode): 14 * Shared/WebProcessCreationParameters.h: 15 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 16 (WebKit::WebProcessPool::platformInitializeWebProcess): 17 * WebProcess/WebProcess.cpp: 18 (WebKit::WebProcess::initializeWebProcess): 19 1 20 2015-10-28 Babak Shafiei <bshafiei@apple.com> 2 21 -
tags/Safari-602.1.9.1/Source/WebKit2/Shared/WebProcessCreationParameters.cpp
r191260 r192001 108 108 encoder << fontWhitelist; 109 109 encoder << iconDatabaseEnabled; 110 encoder << shouldRewriteConstAsVar; 110 111 encoder << terminationTimeout; 111 112 encoder << languages; … … 240 241 if (!decoder.decode(parameters.iconDatabaseEnabled)) 241 242 return false; 243 if (!decoder.decode(parameters.shouldRewriteConstAsVar)) 244 return false; 242 245 if (!decoder.decode(parameters.terminationTimeout)) 243 246 return false; -
tags/Safari-602.1.9.1/Source/WebKit2/Shared/WebProcessCreationParameters.h
r191260 r192001 118 118 119 119 bool iconDatabaseEnabled; 120 bool shouldRewriteConstAsVar { false }; 120 121 121 122 double terminationTimeout; -
tags/Safari-602.1.9.1/Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r191473 r192001 45 45 #import <WebCore/PlatformPasteboard.h> 46 46 #import <WebCore/SharedBuffer.h> 47 #import <WebCore/RuntimeApplicationChecks.h> 47 48 #import <sys/param.h> 48 49 … … 174 175 parameters.shouldEnableFTLJIT = [[NSUserDefaults standardUserDefaults] boolForKey:WebKitJSCFTLJITEnabledDefaultsKey]; 175 176 parameters.shouldEnableMemoryPressureReliefLogging = [[NSUserDefaults standardUserDefaults] boolForKey:@"LogMemoryJetsamDetails"]; 177 178 #if PLATFORM(MAC) 179 parameters.shouldRewriteConstAsVar = applicationIsIBooks(); 180 #endif 176 181 177 182 #if HAVE(HOSTED_CORE_ANIMATION) -
tags/Safari-602.1.9.1/Source/WebKit2/WebProcess/WebProcess.cpp
r191381 r192001 337 337 registerURLSchemeAsCORSEnabled(scheme); 338 338 339 WebCore::Settings::setShouldRewriteConstAsVar(parameters.shouldRewriteConstAsVar); 340 339 341 #if ENABLE(CACHE_PARTITIONING) 340 342 for (auto& scheme : parameters.urlSchemesRegisteredAsCachePartitioned)
Note:
See TracChangeset
for help on using the changeset viewer.