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

Unified Diff: Source/WebCore/editing/FrameSelection.cpp

Issue 8200004: Merge 96834 - <rdar://problem/10232866> Assertion failure beneath blockSelectionGaps() when a sel... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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 | « LayoutTests/editing/selection/invalid-in-RenderView-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/editing/FrameSelection.cpp
===================================================================
--- Source/WebCore/editing/FrameSelection.cpp (revision 96948)
+++ Source/WebCore/editing/FrameSelection.cpp (working copy)
@@ -1624,7 +1624,7 @@
if (!view)
return;
- VisibleSelection selection = this->selection();
+ VisibleSelection selection(m_selection.visibleStart(), m_selection.visibleEnd());
if (!selection.isRange()) {
view->clearSelection();
« no previous file with comments | « LayoutTests/editing/selection/invalid-in-RenderView-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698