| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index a8da6d7bd3d426c8ac8151fbf8e95ada0009ebc2..ae499d683f345354eae76cc020908d26a900ab59 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -510,7 +510,7 @@ void HTMLCanvasElement::createImageBufferInternal()
|
| // See CanvasRenderingContext2D::State::State() for more information.
|
| m_imageBuffer->context()->setMiterLimit(10);
|
| m_imageBuffer->context()->setStrokeThickness(1);
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| m_imageBuffer->context()->disableDestructionChecks(); // 2D canvas is allowed to leave context in an unfinalized state.
|
| #endif
|
| m_contextStateSaver = adoptPtr(new GraphicsContextStateSaver(*m_imageBuffer->context()));
|
|
|