Ignore:
Timestamp:
Mar 14, 2014, 1:30:55 AM (11 years ago)
Author:
[email protected]
Message:

Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
https://bugs.webkit.org/show_bug.cgi?id=129612

Reviewed by Darin Adler.

For new code use static NeverDestroyed<T> instead.

Source/JavaScriptCore:

  • API/JSAPIWrapperObject.mm:

(jsAPIWrapperObjectHandleOwner):

  • API/JSManagedValue.mm:

(managedValueHandleOwner):

  • inspector/agents/InspectorDebuggerAgent.cpp:

(Inspector::objectGroupForBreakpointAction):

  • inspector/scripts/CodeGeneratorInspectorStrings.py:
  • interpreter/JSStack.cpp:

(JSC::stackStatisticsMutex):

  • jit/ExecutableAllocator.cpp:

(JSC::DemandExecutableAllocator::allocators):

Source/WebCore:

Removed the list of changed files as it was huge.

Source/WebKit/efl:

  • WebCoreSupport/PlatformStrategiesEfl.cpp:

(PlatformStrategiesEfl::initialize):

  • ewk/ewk_main.cpp:

(trackerClient):

Source/WebKit/ios:

  • Misc/EmojiFallbackFontSelector.cpp:

(EmojiFallbackFontSelector::getFallbackFontData):

  • WebCoreSupport/WebFixedPositionContent.mm:

(WebFixedPositionContentDataLock):

Source/WebKit/mac:

  • History/WebBackForwardList.mm:

(backForwardLists):

  • History/WebHistoryItem.mm:

(historyItemWrappers):

  • Misc/WebNSPasteboardExtras.mm:

(+[NSPasteboard _web_writableTypesForURL]):
(_writableTypesForImageWithoutArchive):
(_writableTypesForImageWithArchive):

  • Misc/WebStringTruncator.mm:

(fontFromNSFont):

  • Plugins/Hosted/NetscapePluginHostManager.mm:

(WebKit::NetscapePluginHostManager::shared):

  • Plugins/Hosted/NetscapePluginHostProxy.mm:

(WebKit::pluginProxyMap):

  • Plugins/Hosted/NetscapePluginInstanceProxy.mm:

(WebKit::globalExceptionString):

  • Plugins/Hosted/ProxyInstance.mm:

(WebKit::proxyClass):

  • Plugins/WebNetscapePluginStream.mm:

(streams):

  • Storage/WebDatabaseManager.mm:

(transactionBackgroundTaskIdentifierLock):

  • WebCoreSupport/WebUserMediaClient.mm:

(userMediaRequestsMap):

  • WebView/WebHTMLRepresentation.mm:

(regExpForLabels):

  • WebView/WebView.mm:

(aeDescFromJSValue):

Source/WebKit/win:

  • WebCoreSupport/WebPlatformStrategies.cpp:

(WebPlatformStrategies::initialize):

  • WebHistory.cpp:

(sharedHistoryStorage):

  • WebLocalizableStrings.cpp:

(mainBundleLocStrings):
(frameworkLocStringsMutex):
(frameworkLocStrings):

  • WebView.cpp:

(WebView::standardUserAgentWithApplicationName):

Source/WebKit/wince:

  • WebCoreSupport/FrameLoaderClientWinCE.cpp:

(WebKit::FrameLoaderClientWinCE::userAgent):

  • WebCoreSupport/PlatformStrategiesWinCE.cpp:

(PlatformStrategiesWinCE::initialize):

Source/WebKit2:

  • DatabaseProcess/IndexedDB/sqlite/SQLiteIDBCursor.cpp:

(WebKit::getIndexStatement):
(WebKit::getObjectStoreStatement):

  • Shared/linux/SeccompFilters/SeccompBroker.cpp:

(WebKit::SeccompBrokerClient::shared):

  • UIProcess/InspectorServer/WebInspectorServer.cpp:

(WebKit::WebInspectorServer::didReceiveWebSocketUpgradeHTTPRequest):

Source/WTF:

  • wtf/RunLoop.cpp:

(WTF::RunLoop::current):

  • wtf/StdLibExtras.h:
  • wtf/ThreadingPthreads.cpp:

(WTF::threadMapMutex):
(WTF::threadMap):

  • wtf/efl/MainThreadEfl.cpp:

(WTF::pipeObject):

  • wtf/text/StringStatics.cpp:

(WTF::StringImpl::empty):

Tools:

  • DumpRenderTree/JavaScriptThreading.cpp:

(javaScriptThreadsMutex):
(javaScriptThreads):

  • DumpRenderTree/efl/EventSender.cpp:

(touchPointList):
(delayedEventQueue):

  • DumpRenderTree/win/FrameLoadDelegate.cpp:

(delegatesWithDelayedWork):

  • Scripts/check-for-exit-time-destructors:
  • TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp:
  • TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:

(testsMap):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/JSManagedValue.mm

    r165074 r165607  
    4747static JSManagedValueHandleOwner* managedValueHandleOwner()
    4848{
    49     DEFINE_STATIC_LOCAL(JSManagedValueHandleOwner, jsManagedValueHandleOwner, ());
     49    DEPRECATED_DEFINE_STATIC_LOCAL(JSManagedValueHandleOwner, jsManagedValueHandleOwner, ());
    5050    return &jsManagedValueHandleOwner;
    5151}
Note: See TracChangeset for help on using the changeset viewer.