Skip to content
  • eric@webkit.org's avatar
    Remove more BUILDING_ON_LEOPARD usage in PLATFORM(MAC) code · 7c632161
    eric@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=85846
    
    Reviewed by Adam Barth.
    
    PLATFORM(MAC) has not supported Leopard for several months now.
    This change removes about 1/3 of the remaining BUILDING_ON_LEOPARD
    uses in the PLATFORM(MAC) codepaths.  PLATFORM(CHROMIUM) still
    supports BUILDING_ON_LEOPARD for now.
    
    Source/WebCore:
    
    * WebCore.exp.in:
    * dom/Document.cpp:
    (WebCore::Document::updateRangesAfterChildrenChanged):
    (WebCore::Document::nodeChildrenWillBeRemoved):
    (WebCore::Document::nodeWillBeRemoved):
    (WebCore::Document::textInserted):
    (WebCore::Document::textRemoved):
    (WebCore::Document::textNodesMerged):
    (WebCore::Document::textNodeSplit):
    * editing/Editor.cpp:
    (WebCore::Editor::respondToChangedSelection):
    * editing/TypingCommand.cpp:
    (WebCore::TypingCommand::markMisspellingsAfterTyping):
    (WebCore::TypingCommand::typingAddedToOpenCommand):
    * editing/mac/EditorMac.mm:
    (WebCore::Editor::pasteWithPasteboard):
    * loader/EmptyClients.h:
    (EmptyEditorClient):
    * page/ContextMenuController.cpp:
    (WebCore::ContextMenuController::contextMenuItemSelected):
    (WebCore::ContextMenuController::createAndAppendSpellingAndGrammarSubMenu):
    (WebCore):
    (WebCore::ContextMenuController::populate):
    (WebCore::ContextMenuController::checkOrEnableIfNeeded):
    * page/EditorClient.h:
    (EditorClient):
    * platform/LocalizedStrings.cpp:
    (WebCore::contextMenuItemTagSearchWeb):
    * platform/MemoryPressureHandler.cpp:
    (WebCore):
    * platform/SuddenTermination.h:
    (WebCore):
    * platform/graphics/ca/GraphicsLayerCA.cpp:
    (WebCore::GraphicsLayerCA::updateContentsImage):
    (WebCore::GraphicsLayerCA::constrainedSize):
    * platform/graphics/ca/PlatformCALayer.h:
    (PlatformCALayer):
    * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
    (fromCAValueFunctionType):
    (PlatformCAAnimation::valueFunction):
    (PlatformCAAnimation::setValueFunction):
    * platform/graphics/ca/mac/PlatformCALayerMac.mm:
    (toCAFilterType):
    (PlatformCALayer::anchorPoint):
    (PlatformCALayer::setAnchorPoint):
    (PlatformCALayer::contentsTransform):
    (PlatformCALayer::setContentsTransform):
    (PlatformCALayer::isGeometryFlipped):
    (PlatformCALayer::setGeometryFlipped):
    (PlatformCALayer::acceleratesDrawing):
    (PlatformCALayer::setAcceleratesDrawing):
    (PlatformCALayer::setMinificationFilter):
    (PlatformCALayer::setMagnificationFilter):
    (PlatformCALayer::contentsScale):
    (PlatformCALayer::setContentsScale):
    * platform/graphics/ca/mac/TileCache.mm:
    (WebCore::TileCache::setScale):
    (WebCore::TileCache::setAcceleratesDrawing):
    (WebCore::TileCache::createTileLayer):
    
    Source/WTF:
    
    * wtf/Platform.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7c632161