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

Unified Diff: Source/core/page/ContextMenuControllerTest.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/page/ContextMenuControllerTest.cpp
diff --git a/Source/core/page/ContextMenuControllerTest.cpp b/Source/core/page/ContextMenuControllerTest.cpp
index b4cfc2adce77464684bffba94ceda414d5e06f42..3f4e141455056b57ec571a6cf85efa8a474d7689 100644
--- a/Source/core/page/ContextMenuControllerTest.cpp
+++ b/Source/core/page/ContextMenuControllerTest.cpp
@@ -29,7 +29,7 @@ protected:
void setBodyInnerHTML(const String& htmlContent)
{
document().body()->setInnerHTML(htmlContent, ASSERT_NO_EXCEPTION);
- document().view()->updateLayoutAndStyleIfNeededRecursive();
+ document().view()->updateLayoutAndStyleForPainting();
}
private:

Powered by Google App Engine
This is Rietveld 408576698