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

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

Issue 2636083003: Remove unused function UndoStep::belongsTo() (Closed)
Patch Set: Created 3 years, 11 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 1774c343bd4b279a416abf17b1d09ecdefb22783..27dafaf45f88b13e0cdf9546e3f2ace3dc4adf51 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -100,11 +100,6 @@ EditCommandComposition::EditCommandComposition(
m_endingRootEditableElement(endingSelection.rootEditableElement()),
m_inputType(inputType) {}
-bool EditCommandComposition::belongsTo(const LocalFrame& frame) const {
- DCHECK(m_document);
- return m_document->frame() == &frame;
-}
-
void EditCommandComposition::unapply() {
DCHECK(m_document);
LocalFrame* frame = m_document->frame();

Powered by Google App Engine
This is Rietveld 408576698