| Index: Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp b/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
|
| index 29b84da5dd94b37ec1229e5b97dd6a5db64c8346..7732da7026b2b8a706f92db5d12d9442465dc86f 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
|
| @@ -71,7 +71,7 @@ void CanvasRenderingContext2DAPITest::SetUp()
|
| m_dummyPageHolder = DummyPageHolder::create(IntSize(800, 600), &pageClients);
|
| m_document = toHTMLDocument(&m_dummyPageHolder->document());
|
| m_document->documentElement()->setInnerHTML("<body><canvas id='c'></canvas></body>", ASSERT_NO_EXCEPTION);
|
| - m_document->view()->updateLayoutAndStyleIfNeededRecursive();
|
| + m_document->view()->updateLayoutAndStyleForPainting();
|
| m_canvasElement = toHTMLCanvasElement(m_document->getElementById("c"));
|
| }
|
|
|
|
|