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

Unified Diff: sky/engine/core/editing/FrameSelection.cpp

Issue 847393003: Remove the PaintInvalidation DocumentLifeCycle states. (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 | « sky/engine/core/dom/DocumentLifecycle.cpp ('k') | sky/engine/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/FrameSelection.cpp
diff --git a/sky/engine/core/editing/FrameSelection.cpp b/sky/engine/core/editing/FrameSelection.cpp
index b3964dd955e0d8c237d91faf2242f1f737778b99..1d747894ef278758797bf1d319a6166b6d999de9 100644
--- a/sky/engine/core/editing/FrameSelection.cpp
+++ b/sky/engine/core/editing/FrameSelection.cpp
@@ -1197,7 +1197,6 @@ static bool isNonOrphanedCaret(const VisibleSelection& selection)
IntRect FrameSelection::absoluteCaretBounds()
{
- ASSERT(m_frame->document()->lifecycle().state() != DocumentLifecycle::InPaintInvalidation);
m_frame->document()->updateLayout();
if (!isNonOrphanedCaret(m_selection)) {
clearCaretRect();
« no previous file with comments | « sky/engine/core/dom/DocumentLifecycle.cpp ('k') | sky/engine/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698