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

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

Issue 1217943010: Add a FrameView lifecycle method that just updates layout, style and compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 d30048f9ac5af6d980780451860a769c43e6e91f..6287b8db042e44b9597cc02779d09a67db0a4e35 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
@@ -68,7 +68,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()->updateLayoutAndStyleForPainting();
+ m_document->view()->updateAllLifecyclePhases();
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