| Index: Source/core/css/CSSPrimitiveValue.cpp
|
| diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
|
| index e108efc08326887ce6c5331db99dc44ab69d9e3e..477de0cf774a23aaceaa15e4bd48072f3ccfa2d4 100644
|
| --- a/Source/core/css/CSSPrimitiveValue.cpp
|
| +++ b/Source/core/css/CSSPrimitiveValue.cpp
|
| @@ -873,7 +873,7 @@ PassRefPtrWillBeRawPtr<RGBColor> CSSPrimitiveValue::getRGBColorValue(ExceptionSt
|
| {
|
| if (m_primitiveUnitType != CSS_RGBCOLOR) {
|
| exceptionState.throwDOMException(InvalidAccessError, "This object is not an RGB color value.");
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| // FIMXE: This should not return a new object for each invocation.
|
|
|