Changeset 62767 in webkit


Ignore:
Timestamp:
Jul 8, 2010 1:32:18 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-07-08 Patrick Gansterer <paroga@paroga.com>

Reviewed by Kent Tamura.

Buildfix for !ENABLE(SVG_ANIMATION) after r51567.
https://bugs.webkit.org/show_bug.cgi?id=41803

  • svg/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::sampleAnimationAtTime):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62763 r62767  
     12010-07-08  Patrick Gansterer  <paroga@paroga.com>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Buildfix for !ENABLE(SVG_ANIMATION) after r51567.
     6        https://bugs.webkit.org/show_bug.cgi?id=41803
     7
     8        * svg/SVGDocumentExtensions.cpp:
     9        (WebCore::SVGDocumentExtensions::sampleAnimationAtTime):
     10
    1112010-07-07  Pavel Podivilov  <podivilov@chromium.org>
    212
  • trunk/WebCore/svg/SVGDocumentExtensions.cpp

    r61985 r62767  
    117117bool SVGDocumentExtensions::sampleAnimationAtTime(const String& elementId, SVGSMILElement* element, double time)
    118118{
     119#if !ENABLE(SVG_ANIMATION)
     120    UNUSED_PARAM(elementId);
     121    UNUSED_PARAM(element);
     122    UNUSED_PARAM(time);
     123    return false;
     124#else
    119125    ASSERT(element);
    120126    SMILTimeContainer* container = element->timeContainer();
     
    124130    container->sampleAnimationAtTime(elementId, time);
    125131    return true;
     132#endif
    126133}
    127134
Note: See TracChangeset for help on using the changeset viewer.