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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp

Issue 2370253002: Mark calls of visible{Start,End} with dirty layout deprecated (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
index a023267e5199eb3e6e6982346e18e34ad0045261..99b1368da230cbb207683616488f9d2ddde2ecfb 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
@@ -112,7 +112,7 @@ bool InsertParagraphSeparatorCommand::shouldUseDefaultParagraphElement(Element*
return true;
// Assumes that if there was a range selection, it was already deleted.
- if (!isEndOfBlock(endingSelection().visibleStart()))
+ if (!isEndOfBlock(endingSelection().visibleStartDeprecated()))
return false;
return enclosingBlock->hasTagName(h1Tag)

Powered by Google App Engine
This is Rietveld 408576698