diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebCore/editing/EditingStyle.h | |
parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebCore/editing/EditingStyle.h')
-rw-r--r-- | Source/WebCore/editing/EditingStyle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/editing/EditingStyle.h b/Source/WebCore/editing/EditingStyle.h index c213036e1..177c2a007 100644 --- a/Source/WebCore/editing/EditingStyle.h +++ b/Source/WebCore/editing/EditingStyle.h @@ -91,7 +91,7 @@ public: return adoptRef(new EditingStyle(style)); } - static PassRefPtr<EditingStyle> create(int propertyID, const String& value) + static PassRefPtr<EditingStyle> create(CSSPropertyID propertyID, const String& value) { return adoptRef(new EditingStyle(propertyID, value)); } @@ -152,10 +152,10 @@ private: EditingStyle(const Position&, PropertiesToInclude); EditingStyle(const StylePropertySet*); EditingStyle(const CSSStyleDeclaration*); - EditingStyle(int propertyID, const String& value); + EditingStyle(CSSPropertyID, const String& value); void init(Node*, PropertiesToInclude); void removeTextFillAndStrokeColorsIfNeeded(RenderStyle*); - void setProperty(int propertyID, const String& value, bool important = false); + void setProperty(CSSPropertyID, const String& value, bool important = false); void replaceFontSizeByKeywordIfPossible(RenderStyle*, CSSComputedStyleDeclaration*); void extractFontSizeDelta(); TriState triStateOfStyle(CSSStyleDeclaration* styleToCompare, ShouldIgnoreTextOnlyProperties) const; |