summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSPropertySourceData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/CSSPropertySourceData.cpp')
-rw-r--r--Source/WebCore/css/CSSPropertySourceData.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/WebCore/css/CSSPropertySourceData.cpp b/Source/WebCore/css/CSSPropertySourceData.cpp
index 7b53c51db..3346148f5 100644
--- a/Source/WebCore/css/CSSPropertySourceData.cpp
+++ b/Source/WebCore/css/CSSPropertySourceData.cpp
@@ -55,10 +55,11 @@ unsigned SourceRange::length() const
return end - start;
}
-CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool parsedOk, const SourceRange& range)
+CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range)
: name(name)
, value(value)
, important(important)
+ , disabled(disabled)
, parsedOk(parsedOk)
, range(range)
{
@@ -68,15 +69,17 @@ CSSPropertySourceData::CSSPropertySourceData(const CSSPropertySourceData& other)
: name(other.name)
, value(other.value)
, important(other.important)
+ , disabled(other.disabled)
, parsedOk(other.parsedOk)
, range(other.range)
{
}
CSSPropertySourceData::CSSPropertySourceData()
- : name("")
- , value("")
+ : name(emptyString())
+ , value(emptyString())
, important(false)
+ , disabled(false)
, parsedOk(false)
, range(SourceRange(0, 0))
{