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

Unified Diff: Source/core/rendering/RenderObject.cpp

Issue 452293004: Fix crash when node is moved in a selection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Forgot to upload the test 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
Index: Source/core/rendering/RenderObject.cpp
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
index 10e45c19c4e889a386a45498d3f680bf88eb2222..e42400623e2ace8deb448d041c2057235f63b47a 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -3359,7 +3359,7 @@ bool RenderObject::canUpdateSelectionOnRootLineBoxes()
return false;
RenderBlock* containingBlock = this->containingBlock();
- return containingBlock ? !containingBlock->needsLayout() : true;
+ return containingBlock ? !containingBlock->needsLayout() : false;
}
// We only create "generated" child renderers like one for first-letter if:

Powered by Google App Engine
This is Rietveld 408576698