Skip to content
  • benjamin@webkit.org's avatar
    Clean the String->AtomicString conversion for AnimationController::pauseAnimationAtTime · d19a49c4
    benjamin@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=108558
    
    Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-02-01
    Reviewed by Dean Jackson.
    
    .: 
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore: 
    
    This is a step torward killing the implicit conversion from String to AtomicString.
    
    The animation name are AtomicString. The API is changed all the way to the callers
    to take an AtomicString. When needed, we use explicit conversion.
    
    * WebCore.exp.in:
    * page/animation/AnimationController.cpp:
    (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
    (WebCore::AnimationController::pauseAnimationAtTime):
    * page/animation/AnimationController.h:
    (AnimationController):
    * page/animation/AnimationControllerPrivate.h:
    (AnimationControllerPrivate):
    * page/animation/CompositeAnimation.cpp:
    (WebCore::CompositeAnimation::pauseAnimationAtTime):
    We should not null check the name. Getting a null name from the HashMap would be
    an error from the tests, and the HashMap would never return a value anyway.
    * testing/Internals.cpp:
    (WebCore::Internals::pauseAnimationAtTimeOnPseudoElement):
    
    Source/WebKit2: 
    
    * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
    (WKBundleFramePauseAnimationOnElementWithId):
    * WebProcess/WebPage/WebFrame.cpp:
    (WebKit::WebFrame::pauseAnimationOnElementWithId):
    * WebProcess/WebPage/WebFrame.h:
    (WebFrame):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d19a49c4