| Index: Source/core/html/shadow/SpinButtonElement.cpp
|
| diff --git a/Source/core/html/shadow/SpinButtonElement.cpp b/Source/core/html/shadow/SpinButtonElement.cpp
|
| index 04e21b86af6f1ea332e91be804b0b1b0519bbc43..e0e30ae17a3cb02deea90ef60495bdf139a18277 100644
|
| --- a/Source/core/html/shadow/SpinButtonElement.cpp
|
| +++ b/Source/core/html/shadow/SpinButtonElement.cpp
|
| @@ -111,9 +111,9 @@
|
| }
|
| event->setDefaultHandled();
|
| }
|
| - } else if (mouseEvent->type() == EventTypeNames::mouseup && mouseEvent->button() == LeftButton) {
|
| - releaseCapture();
|
| - } else if (event->type() == EventTypeNames::mousemove) {
|
| + } else if (mouseEvent->type() == EventTypeNames::mouseup && mouseEvent->button() == LeftButton)
|
| + stopRepeatingTimer();
|
| + else if (event->type() == EventTypeNames::mousemove) {
|
| if (box->pixelSnappedBorderBoxRect().contains(local)) {
|
| if (!m_capturing) {
|
| if (Frame* frame = document().frame()) {
|
| @@ -198,8 +198,6 @@
|
| if (Page* page = document().page())
|
| page->chrome().unregisterPopupOpeningObserver(this);
|
| }
|
| - if (m_spinButtonOwner)
|
| - m_spinButtonOwner->spinButtonDidReleaseMouseCapture();
|
| }
|
| }
|
|
|
|
|