Bug 1408767 - HTMLEditor::MouseMove: Remove two unused variables r=m_kato
authorSylvestre Ledru <sledru@mozilla.com>
Sun, 15 Oct 2017 19:32:43 +0200
changeset 386339 7f10456d052adcb863b57eab69ef38221645620b
parent 386338 bd78c5074204cc47cc35b7c2639528b2438db2dd
child 386340 47761f216db8c5a7247226a456b0adbcf1fe772b
push id32694
push userarchaeopteryx@coole-files.de
push dateTue, 17 Oct 2017 09:43:13 +0000
treeherdermozilla-central@3bd3448d9684 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato
bugs1408767
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1408767 - HTMLEditor::MouseMove: Remove two unused variables r=m_kato MozReview-Commit-ID: 8aP9nevSXPz
editor/libeditor/HTMLEditorObjectResizer.cpp
--- a/editor/libeditor/HTMLEditorObjectResizer.cpp
+++ b/editor/libeditor/HTMLEditorObjectResizer.cpp
@@ -815,19 +815,16 @@ HTMLEditor::MouseMove(nsIDOMEvent* aMous
   return MouseMove(mouseEvent);
 }
 
 nsresult
 HTMLEditor::MouseMove(nsIDOMMouseEvent* aMouseEvent)
 {
   MOZ_ASSERT(aMouseEvent);
 
-  NS_NAMED_LITERAL_STRING(leftStr, "left");
-  NS_NAMED_LITERAL_STRING(topStr, "top");
-
   if (mIsResizing) {
     // we are resizing and the mouse pointer's position has changed
     // we have to resdisplay the shadow
     int32_t clientX, clientY;
     aMouseEvent->GetClientX(&clientX);
     aMouseEvent->GetClientY(&clientY);
 
     int32_t newX = GetNewResizingX(clientX, clientY);