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

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

Issue 2958483003: Make VisiblePosition::BeforeNode() to take const Node& instead of Node* (Closed)
Patch Set: 017-06-23T18:57:25 Created 3 years, 6 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/CompositeEditCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
index 21d0a7b64ca3aca9f9ee5bd041aeebd7fa2deae1..56ff069d4dc3269c984b5517e04accd9665028c2 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -1729,7 +1729,7 @@ bool CompositeEditCommand::BreakOutOfEmptyMailBlockquotedParagraph(
GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets();
- VisiblePosition at_br = VisiblePosition::BeforeNode(br);
+ VisiblePosition at_br = VisiblePosition::BeforeNode(*br);
// If the br we inserted collapsed, for example:
// foo<br><blockquote>...</blockquote>
// insert a second one.

Powered by Google App Engine
This is Rietveld 408576698