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

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 791023006: Delete invalidateTreeIfNeeded. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | sky/engine/core/dom/Element.cpp » ('j') | sky/engine/core/rendering/RenderObject.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.cpp
diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
index 4a88ba5a4d62e817b20292d1e28d1978c824debd..479bbba350cc32f971179efa81afeecaadd262fb 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -1647,10 +1647,6 @@ void Document::styleResolverChanged()
// We need to manually repaint because we avoid doing all repaints in layout or style
// recalc while sheets are still loading to avoid FOUC.
m_pendingSheetLayout = IgnoreLayoutWithPendingSheets;
-
- ASSERT(renderView() || importsController());
- if (renderView())
- renderView()->setShouldDoFullPaintInvalidation(true);
}
}
« no previous file with comments | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | sky/engine/core/rendering/RenderObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698