Title: [108386] trunk/Source/WebCore
Revision
108386
Author
[email protected]
Date
2012-02-21 12:58:40 -0800 (Tue, 21 Feb 2012)

Log Message

Not reviewed.

Remove some obsolete comments, use consistent name for propertyID.

* css/StylePropertySet.h:
(StylePropertySet):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108385 => 108386)


--- trunk/Source/WebCore/ChangeLog	2012-02-21 20:48:05 UTC (rev 108385)
+++ trunk/Source/WebCore/ChangeLog	2012-02-21 20:58:40 UTC (rev 108386)
@@ -1,5 +1,14 @@
 2012-02-21  Antti Koivisto  <[email protected]>
 
+        Not reviewed.
+
+        Remove some obsolete comments, use consistent name for propertyID.
+
+        * css/StylePropertySet.h:
+        (StylePropertySet):
+
+2012-02-21  Antti Koivisto  <[email protected]>
+
         Clean up StylePropertySet included headers
         https://bugs.webkit.org/show_bug.cgi?id=79134
 

Modified: trunk/Source/WebCore/css/StylePropertySet.h (108385 => 108386)


--- trunk/Source/WebCore/css/StylePropertySet.h	2012-02-21 20:48:05 UTC (rev 108385)
+++ trunk/Source/WebCore/css/StylePropertySet.h	2012-02-21 20:58:40 UTC (rev 108386)
@@ -65,19 +65,15 @@
     bool isPropertyImplicit(int propertyID) const;
 
     bool setProperty(int propertyID, int value, bool important = false, CSSStyleSheet* contextStyleSheet = 0);
-    bool setProperty(int propertyId, double value, CSSPrimitiveValue::UnitTypes, bool important = false, CSSStyleSheet* contextStyleSheet = 0);
+    bool setProperty(int propertyID, double value, CSSPrimitiveValue::UnitTypes, bool important = false, CSSStyleSheet* contextStyleSheet = 0);
     bool setProperty(int propertyID, const String& value, bool important = false, CSSStyleSheet* contextStyleSheet = 0);
     void setProperty(const CSSProperty&, CSSProperty* slot = 0);
     
     bool removeProperty(int propertyID, String* returnText = 0);
 
-    // The following parses an entire new style declaration.
     void parseDeclaration(const String& styleDeclaration, CSSStyleSheet* contextStyleSheet);
 
-    // Besides adding the properties, this also removes any existing properties with these IDs.
-    // It does no notification since it's called by the parser.
     void addParsedProperties(const CSSProperty* const *, int numProperties);
-    // This does no change notifications since it's only called by createMarkup.
     void addParsedProperty(const CSSProperty&);
 
     PassRefPtr<StylePropertySet> copyBlockProperties() const;
@@ -131,8 +127,8 @@
     bool removeShorthandProperty(int propertyID);
     bool propertyMatches(const CSSProperty*) const;
 
-    const CSSProperty* findPropertyWithId(int propertyId) const;
-    CSSProperty* findPropertyWithId(int propertyId);
+    const CSSProperty* findPropertyWithId(int propertyID) const;
+    CSSProperty* findPropertyWithId(int propertyID);
 
     Vector<CSSProperty, 4> m_properties;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to