Title: [101734] trunk/Source/WebCore
Revision
101734
Author
[email protected]
Date
2011-12-01 18:59:24 -0800 (Thu, 01 Dec 2011)

Log Message

CSSMutableStyleDeclaration: Remove unused function setStringProperty().
<http://webkit.org/b/73597>

Reviewed by Darin Adler.

* css/CSSMutableStyleDeclaration.cpp:
* css/CSSMutableStyleDeclaration.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101733 => 101734)


--- trunk/Source/WebCore/ChangeLog	2011-12-02 02:39:14 UTC (rev 101733)
+++ trunk/Source/WebCore/ChangeLog	2011-12-02 02:59:24 UTC (rev 101734)
@@ -1,3 +1,13 @@
+2011-12-01  Andreas Kling  <[email protected]>
+
+        CSSMutableStyleDeclaration: Remove unused function setStringProperty().
+        <http://webkit.org/b/73597>
+
+        Reviewed by Darin Adler.
+
+        * css/CSSMutableStyleDeclaration.cpp:
+        * css/CSSMutableStyleDeclaration.h:
+
 2011-12-01  Ryosuke Niwa  <[email protected]>
 
         REGRESSION(r101268): Intermittent assertion failure in fast/block/child-not-removed-from-parent-lineboxes-crash.html

Modified: trunk/Source/WebCore/css/CSSMutableStyleDeclaration.cpp (101733 => 101734)


--- trunk/Source/WebCore/css/CSSMutableStyleDeclaration.cpp	2011-12-02 02:39:14 UTC (rev 101733)
+++ trunk/Source/WebCore/css/CSSMutableStyleDeclaration.cpp	2011-12-02 02:59:24 UTC (rev 101734)
@@ -737,14 +737,6 @@
     return true;
 }
 
-void CSSMutableStyleDeclaration::setStringProperty(int propertyId, const String &value, CSSPrimitiveValue::UnitTypes type, bool important)
-{
-    ASSERT(!m_iteratorCount);
-
-    setPropertyInternal(CSSProperty(propertyId, CSSPrimitiveValue::create(value, type), important));
-    setNeedsStyleRecalc();
-}
-
 void CSSMutableStyleDeclaration::setImageProperty(int propertyId, const String& url, bool important)
 {
     ASSERT(!m_iteratorCount);

Modified: trunk/Source/WebCore/css/CSSMutableStyleDeclaration.h (101733 => 101734)


--- trunk/Source/WebCore/css/CSSMutableStyleDeclaration.h	2011-12-02 02:39:14 UTC (rev 101733)
+++ trunk/Source/WebCore/css/CSSMutableStyleDeclaration.h	2011-12-02 02:59:24 UTC (rev 101734)
@@ -111,7 +111,6 @@
 
     // setLengthProperty treats integers as pixels! (Needed for conversion of HTML attributes.)
     void setLengthProperty(int propertyId, const String& value, bool important, bool multiLength = false);
-    void setStringProperty(int propertyId, const String& value, CSSPrimitiveValue::UnitTypes, bool important = false); // parsed string value
     void setImageProperty(int propertyId, const String& url, bool important = false);
 
     // The following parses an entire new style declaration.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to