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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.cpp

Issue 2018413003: Get rid of a unused parameter from Editor::notifyComponentsOnChangedSelection() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-05-31T14:29:49 Created 4 years, 7 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 | « third_party/WebKit/Source/core/editing/Editor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 59802d657dad7cea50df6a131b182917d53a621d..e705c69ea928890ad10b044d34565c05d1b26a6b 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -554,7 +554,7 @@ bool Editor::shouldDeleteRange(const EphemeralRange& range) const
return canDeleteRange(range);
}
-void Editor::notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection)
+void Editor::notifyComponentsOnChangedSelection()
{
client().respondToChangedSelection(m_frame, frame().selection().getSelectionType());
setStartNewKillRingSequence(true);
@@ -1311,7 +1311,7 @@ void Editor::respondToChangedSelection(const VisibleSelection& oldSelection, Fra
{
spellChecker().respondToChangedSelection(oldSelection, options);
frame().inputMethodController().cancelCompositionIfSelectionIsInvalid();
- notifyComponentsOnChangedSelection(oldSelection);
+ notifyComponentsOnChangedSelection();
}
SpellChecker& Editor::spellChecker() const
« no previous file with comments | « third_party/WebKit/Source/core/editing/Editor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698