Unreviewed Windows build fix
authorsaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Mar 2019 01:05:32 +0000 (01:05 +0000)
committersaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Mar 2019 01:05:32 +0000 (01:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196083
<rdar://problem/49121836>

* svg/SVGAnimatorFactory.h:
(WebCore::SVGAnimatorFactory::isSupportedAttributeType):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/svg/SVGAnimatorFactory.h

index 7e0b281..6de624d 100644 (file)
@@ -1,3 +1,12 @@
+2019-03-26  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        Unreviewed Windows build fix
+        https://bugs.webkit.org/show_bug.cgi?id=196083
+        <rdar://problem/49121836>
+
+        * svg/SVGAnimatorFactory.h:
+        (WebCore::SVGAnimatorFactory::isSupportedAttributeType):
+
 2019-03-26  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [Cocoa] Refactor some helper functions for building UserAgent strings
 2019-03-26  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [Cocoa] Refactor some helper functions for building UserAgent strings
index 19e50c4..0374d4c 100644 (file)
@@ -47,12 +47,14 @@ public:
         case AnimatedRect:
         case AnimatedString:
         case AnimatedUnknown:
         case AnimatedRect:
         case AnimatedString:
         case AnimatedUnknown:
-            return false;
+            break;
 
         case AnimatedPath:
         case AnimatedTransformList:
             return true;
         }
 
         case AnimatedPath:
         case AnimatedTransformList:
             return true;
         }
+
+        return false;
     }
 
     static std::unique_ptr<SVGAnimatedTypeAnimator> create(SVGAnimationElement* animationElement, SVGElement* contextElement, AnimatedPropertyType attributeType)
     }
 
     static std::unique_ptr<SVGAnimatedTypeAnimator> create(SVGAnimationElement* animationElement, SVGElement* contextElement, AnimatedPropertyType attributeType)