Suggested by Darin Adler.
* editing/FrameSelection.cpp:
(WebCore::FrameSelection::updateAppearance):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@96873
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-10-06 Dan Bernstein <mitz@apple.com>
+
+ Added a comment explaining code added in r96834.
+
+ Suggested by Darin Adler.
+
+ * editing/FrameSelection.cpp:
+ (WebCore::FrameSelection::updateAppearance):
+
2011-10-05 Ryosuke Niwa <rniwa@webkit.org>
Deleting line break before h1 converts h1 to span
if (!view)
return;
+ // Construct a new VisibleSolution, since m_selection is not necessarily valid, and the following steps
+ // assume a valid selection. See <https://bugs.webkit.org/show_bug.cgi?id=69563> and <rdar://problem/10232866>.
VisibleSelection selection(m_selection.visibleStart(), m_selection.visibleEnd());
if (!selection.isRange()) {