-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=127355 Reviewed by Simon Fraser. * WebCore.xcodeproj/project.pbxproj: Add CALayerWebAdditions.{h,mm}. * platform/graphics/ca/mac/PlatformCALayerMac.mm: (PlatformCALayerMac::commonInit): Remove nullActionsDictionary() and use [CALayer(WebAdditions) web_disableAllActions] instead. * platform/graphics/mac/CALayerWebAdditions.h: Added. * platform/graphics/mac/CALayerWebAdditions.mm: Added. (-[CALayer web_disableAllActions]): Added. Disable all implicit actions on the layer. * Shared/mac/RemoteLayerTreePropertyApplier.h: * Shared/mac/RemoteLayerTreePropertyApplier.mm: Remove disableActionsForLayer. * UIProcess/API/mac/WKView.mm: (-[WKView _rootLayer]): Disable actions on the root layer. It doesn't need them, and currently isn't affected by implicit animations, but future patches which animate the root layer will benefit from this. * UIProcess/mac/RemoteLayerTreeHost.mm: (WebKit::RemoteLayerTreeHost::createLayer): Use web_disableAllActions instead of disableActionsForLayer. * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm: Renamed from Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.cpp. (PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom): (PlatformCALayerRemoteCustom::~PlatformCALayerRemoteCustom): (PlatformCALayerRemoteCustom::hostingContextID): Use web_disableAllActions instead of disableActionsForLayer. This requires making this file Obj-C++ but that's OK since it's Mac/iOS only. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fdfc3bb9