Bug 1694847 - Remove the expired SCROLL_INPUT_METHODS telemetry probe. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D116320
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include "mozilla/EventStates.h"
|
||||
#include "mozilla/HTMLEditor.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/layers/ScrollInputMethods.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/RangeBoundary.h"
|
||||
#include "mozilla/RangeUtils.h"
|
||||
@@ -79,7 +78,6 @@
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
using mozilla::layers::ScrollInputMethod;
|
||||
|
||||
static LazyLogModule sSelectionLog("Selection");
|
||||
|
||||
@@ -3004,12 +3002,6 @@ nsresult Selection::ScrollIntoView(SelectionRegion aRegion,
|
||||
scrollFlags |= ScrollFlags::ScrollOverflowHidden;
|
||||
}
|
||||
|
||||
if (aFlags & Selection::SCROLL_FOR_CARET_MOVE) {
|
||||
mozilla::Telemetry::Accumulate(
|
||||
mozilla::Telemetry::SCROLL_INPUT_METHODS,
|
||||
(uint32_t)ScrollInputMethod::MainThreadScrollCaretIntoView);
|
||||
}
|
||||
|
||||
presShell->ScrollFrameRectIntoView(frame, rect, nsMargin(), aVertical,
|
||||
aHorizontal, scrollFlags);
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user