Commit 1ac03372 authored by akling@apple.com's avatar akling@apple.com
Browse files

Try to fix the Windows build.

* WebFrame.cpp:
(WebFrame::pauseAnimation):
(WebFrame::pauseTransition):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2b90bb98
2013-09-30 Andreas Kling <akling@apple.com>
Try to fix the Windows build.
* WebFrame.cpp:
(WebFrame::pauseAnimation):
(WebFrame::pauseTransition):
2013-09-27 Roger Fong <roger_fong@apple.com>
 
[Windows] Unreviewed build fix following r156560.
......
......@@ -1228,7 +1228,7 @@ HRESULT WebFrame::pauseAnimation(BSTR animationName, IDOMNode* node, double seco
if (!domNode)
return E_FAIL;
*animationWasRunning = frame->animation().pauseAnimationAtTime(domNode->node()->renderer(), String(animationName, SysStringLen(animationName)), secondsFromNow);
*animationWasRunning = frame->animation().pauseAnimationAtTime(toRenderElement(domNode->node()->renderer()), String(animationName, SysStringLen(animationName)), secondsFromNow);
return S_OK;
}
......@@ -1247,7 +1247,7 @@ HRESULT WebFrame::pauseTransition(BSTR propertyName, IDOMNode* node, double seco
if (!domNode)
return E_FAIL;
*transitionWasRunning = frame->animation().pauseTransitionAtTime(domNode->node()->renderer(), String(propertyName, SysStringLen(propertyName)), secondsFromNow);
*transitionWasRunning = frame->animation().pauseTransitionAtTime(toRenderElement(domNode->node()->renderer()), String(propertyName, SysStringLen(propertyName)), secondsFromNow);
return S_OK;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment