[DOM] Pass error up the chain in SetColorValue.

This commit is contained in:
Moonchild 2024-08-07 11:58:14 +02:00 committed by roytam1
commit 314ba652f4
2 changed files with 7 additions and 9 deletions

View file

@ -463,7 +463,7 @@ private:
inline void SetPtrValueAndType(void* aValue, ValueBaseType aType);
void SetIntValueAndType(int32_t aValue, ValueType aType,
const nsAString* aStringValue);
void SetColorValue(nscolor aColor, const nsAString& aString);
bool SetColorValue(nscolor aColor, const nsAString& aString);
void SetMiscAtomOrString(const nsAString* aValue);
void ResetMiscAtomOrString();
void SetSVGType(ValueType aType, const void* aValue,