Title: [171144] trunk/Source/WebCore
Revision
171144
Author
commit-qu...@webkit.org
Date
2014-07-16 08:03:37 -0700 (Wed, 16 Jul 2014)

Log Message

mutable pointers from const methods, timeContainer().
https://bugs.webkit.org/show_bug.cgi?id=134757

Patch by Jeongeun Kim <je_julie....@samsung.com> on 2014-07-16
Reviewed by Alexey Proskuryakov.

Avoid return mutable pointers from const methods.
No new tests, no behavior change.

* svg/SVGSVGElement.h:
* svg/animation/SVGSMILElement.h:
(WebCore::SVGSMILElement::timeContainer):

Modified Paths

Property Changed

Diff

Modified: trunk/Source/WebCore/ChangeLog (171143 => 171144)


--- trunk/Source/WebCore/ChangeLog	2014-07-16 12:24:25 UTC (rev 171143)
+++ trunk/Source/WebCore/ChangeLog	2014-07-16 15:03:37 UTC (rev 171144)
@@ -1,3 +1,17 @@
+2014-07-16  Jeongeun Kim  <je_julie....@samsung.com>
+
+        mutable pointers from const methods, timeContainer().
+        https://bugs.webkit.org/show_bug.cgi?id=134757
+
+        Reviewed by Alexey Proskuryakov.
+
+        Avoid return mutable pointers from const methods.
+        No new tests, no behavior change.
+
+        * svg/SVGSVGElement.h:
+        * svg/animation/SVGSMILElement.h:
+        (WebCore::SVGSMILElement::timeContainer):
+
 2014-07-15  Yusuke Suzuki  <utatane....@gmail.com>
 
         CSS: Generalize CSS First Letter treatment
Property changes on: trunk/Source/WebCore/ChangeLog
___________________________________________________________________

Added: svn:executable

Modified: trunk/Source/WebCore/svg/SVGSVGElement.h (171143 => 171144)


--- trunk/Source/WebCore/svg/SVGSVGElement.h	2014-07-16 12:24:25 UTC (rev 171143)
+++ trunk/Source/WebCore/svg/SVGSVGElement.h	2014-07-16 15:03:37 UTC (rev 171144)
@@ -83,7 +83,7 @@
     // Only used from the bindings.
     void updateCurrentTranslate();
 
-    SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); }
+    SMILTimeContainer* timeContainer() { return m_timeContainer.get(); }
     
     void pauseAnimations();
     void unpauseAnimations();
Property changes on: trunk/Source/WebCore/svg/SVGSVGElement.h
___________________________________________________________________

Added: svn:executable

Modified: trunk/Source/WebCore/svg/animation/SVGSMILElement.h (171143 => 171144)


--- trunk/Source/WebCore/svg/animation/SVGSMILElement.h	2014-07-16 12:24:25 UTC (rev 171143)
+++ trunk/Source/WebCore/svg/animation/SVGSMILElement.h	2014-07-16 15:03:37 UTC (rev 171144)
@@ -52,7 +52,7 @@
     virtual bool hasValidAttributeName();
     virtual void animationAttributeChanged() = 0;
 
-    SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); }
+    SMILTimeContainer* timeContainer() { return m_timeContainer.get(); }
 
     SVGElement* targetElement() const { return m_targetElement; }
     const QualifiedName& attributeName() const { return m_attributeName; }
Property changes on: trunk/Source/WebCore/svg/animation/SVGSMILElement.h
___________________________________________________________________

Added: svn:executable

_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to