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

Unified Diff: Source/core/dom/Document.cpp

Issue 448893003: Add an assertion to make sure NodeRenderingTraversal::parent is called after the distribution resul… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update styleForPage Created 6 years, 4 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
« no previous file with comments | « no previous file | Source/core/dom/NodeRenderingTraversal.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 31fa3eaf232ae0fcb181779ffe66f2b9ab14d0ea..dd8334cf6e2ed1e691a732a46b82dc330ce130bb 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -2017,6 +2017,7 @@ PassRefPtr<RenderStyle> Document::styleForElementIgnoringPendingStylesheets(Elem
PassRefPtr<RenderStyle> Document::styleForPage(int pageIndex)
{
+ updateDistributionIfNeeded();
return ensureStyleResolver().styleForPage(pageIndex);
}
« no previous file with comments | « no previous file | Source/core/dom/NodeRenderingTraversal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698