| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 737f7fb5fea854996ca309abbd6bfbdc52ab697f..9b67ff43787a43927977af725a7c7a65dd0b646a 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -567,10 +567,8 @@ GraphicsContext* HTMLCanvasElement::drawingContext() const
|
|
|
| GraphicsContext* HTMLCanvasElement::existingDrawingContext() const
|
| {
|
| - if (m_didFailToCreateImageBuffer) {
|
| - ASSERT(!hasImageBuffer());
|
| + if (!hasImageBuffer())
|
| return 0;
|
| - }
|
|
|
| return drawingContext();
|
| }
|
|
|