| Index: Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
|
| ===================================================================
|
| --- Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp (revision 140443)
|
| +++ Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp (working copy)
|
| @@ -2402,7 +2402,9 @@
|
|
|
| realizeSaves();
|
| modifiableState().m_imageSmoothingEnabled = enabled;
|
| - drawingContext()->setImageInterpolationQuality(enabled ? DefaultInterpolationQuality : InterpolationNone);
|
| + GraphicsContext* c = drawingContext();
|
| + if (c)
|
| + c->setImageInterpolationQuality(enabled ? DefaultInterpolationQuality : InterpolationNone);
|
| }
|
|
|
| } // namespace WebCore
|
|
|