| Index: Source/core/html/canvas/CanvasStyle.cpp
|
| diff --git a/Source/core/html/canvas/CanvasStyle.cpp b/Source/core/html/canvas/CanvasStyle.cpp
|
| index 866610df58f0a844c05325448fce3caaeec230d6..3e9e86947a54ec836ba3f05d59fe065933e060fb 100644
|
| --- a/Source/core/html/canvas/CanvasStyle.cpp
|
| +++ b/Source/core/html/canvas/CanvasStyle.cpp
|
| @@ -65,7 +65,7 @@ RGBA32 currentColor(HTMLCanvasElement* canvas)
|
|
|
| bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement* canvas)
|
| {
|
| - ColorParseResult parseResult = parseColor(parsedColor, colorString, canvas ? canvas->document() : 0);
|
| + ColorParseResult parseResult = parseColor(parsedColor, colorString, canvas ? &canvas->document() : 0);
|
| switch (parseResult) {
|
| case ParsedRGBA:
|
| case ParsedSystemColor:
|
|
|