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:
Kartikaya Gupta
2021-05-31 21:36:35 +00:00
parent 288ff14013
commit 7c375a1189
12 changed files with 0 additions and 235 deletions

View File

@@ -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;