Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1033)

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp

Issue 1126883002: Change all one-off lifecycle callers to FrameView::updateLayoutAndStyleForPainting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"));
}
« no previous file with comments | « Source/core/html/HTMLTextFormControlElementTest.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2DTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698