Commit 7abd0d56 authored by bweinstein@apple.com's avatar bweinstein@apple.com
Browse files

Build fix by using DOMNode::node() to go from a DOMNode to a node, and

added svg/animation in the WebCore.vcproj list of headers to be copied 
over on build.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1e35af71
This diff is collapsed.
......@@ -92,7 +92,7 @@
#include <WebCore/RenderView.h>
#include <WebCore/RenderTreeAsText.h>
#include <WebCore/Settings.h>
#include <WebCore/svg/animation/SVGSMILElement.h>
#include <WebCore/SVGSMILElement.h>
#include <WebCore/TextIterator.h>
#include <WebCore/JSDOMBinding.h>
#include <WebCore/ScriptController.h>
......@@ -1173,11 +1173,11 @@ HRESULT WebFrame::pauseSVGAnimation(BSTR elementId, IDOMNode* node, double secon
return E_FAIL;
COMPtr<DOMNode> domNode(Query, node);
if (!domNode || !SVGSMILElement::isSMILElement(domNode))
if (!domNode || !SVGSMILElement::isSMILElement(domNode->node()))
return E_FAIL;
#if ENABLE(SVG)
*animationWasRunning = document->accessSVGExtensions()->sampleAnimationAtTime(String(elementId, SysStringLen(elementId)), static_cast<SVGSMILElement*>(domNode), secondsFromNow);
*animationWasRunning = document->accessSVGExtensions()->sampleAnimationAtTime(String(elementId, SysStringLen(elementId)), static_cast<SVGSMILElement*>(domNode->node()), secondsFromNow);
#else
*animationWasRunning = FALSE;
#endif
......
Supports Markdown
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