Title: [208871] trunk/Source/WebCore
Revision
208871
Author
[email protected]
Date
2016-11-17 17:26:05 -0800 (Thu, 17 Nov 2016)

Log Message

Try to fix the windows build again.

* svg/SVGStringList.h:
* svg/properties/SVGStaticListPropertyTearOff.h:
(WebCore::SVGStaticListPropertyTearOff::SVGStaticListPropertyTearOff):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208870 => 208871)


--- trunk/Source/WebCore/ChangeLog	2016-11-18 01:09:44 UTC (rev 208870)
+++ trunk/Source/WebCore/ChangeLog	2016-11-18 01:26:05 UTC (rev 208871)
@@ -1,5 +1,14 @@
 2016-11-17  Sam Weinig  <[email protected]>
 
+        Try to fix the windows build again.
+
+
+        * svg/SVGStringList.h:
+        * svg/properties/SVGStaticListPropertyTearOff.h:
+        (WebCore::SVGStaticListPropertyTearOff::SVGStaticListPropertyTearOff):
+
+2016-11-17  Sam Weinig  <[email protected]>
+
         Try to fix the windows build.
 
         * svg/SVGStringList.h:

Modified: trunk/Source/WebCore/svg/SVGStringList.h (208870 => 208871)


--- trunk/Source/WebCore/svg/SVGStringList.h	2016-11-18 01:09:44 UTC (rev 208870)
+++ trunk/Source/WebCore/svg/SVGStringList.h	2016-11-18 01:26:05 UTC (rev 208871)
@@ -33,13 +33,23 @@
 
 class SVGStringList final : public SVGStaticListPropertyTearOff<SVGStringListValues> {
 public:
+    using AnimatedListPropertyTearOff = SVGAnimatedListPropertyTearOff<SVGStringListValues>;
+    using ListWrapperCache = AnimatedListPropertyTearOff::ListWrapperCache;
+
     static Ref<SVGStringList> create(SVGElement& contextElement, SVGStringListValues& values)
     {
-        return adoptRef(*new SVGStringList(contextElement, values));
+        return adoptRef(*new SVGStringList(&contextElement, values));
     }
 
+    static Ref<SVGStringList> create(AnimatedListPropertyTearOff&, SVGPropertyRole, SVGStringListValues& values, ListWrapperCache&)
+    {
+        // FIXME: Find a way to remove this. It's only needed to keep Windows compiling.
+        ASSERT_NOT_REACHED();
+        return adoptRef(*new SVGStringList(nullptr, values));
+    }
+
 private:
-    SVGStringList(SVGElement& contextElement, SVGStringListValues& values)
+    SVGStringList(SVGElement* contextElement, SVGStringListValues& values)
         : SVGStaticListPropertyTearOff<SVGStringListValues>(contextElement, values)
     {
     }

Modified: trunk/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h (208870 => 208871)


--- trunk/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h	2016-11-18 01:09:44 UTC (rev 208870)
+++ trunk/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h	2016-11-18 01:26:05 UTC (rev 208871)
@@ -76,9 +76,9 @@
     }
 
 protected:
-    SVGStaticListPropertyTearOff(SVGElement& contextElement, PropertyType& values)
+    SVGStaticListPropertyTearOff(SVGElement* contextElement, PropertyType& values)
         : Base(UndefinedRole, values, nullptr)
-        , m_contextElement(contextElement)
+        , m_contextElement(*contextElement)
     {
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to