Bug 1678505 - s/VerticalScollDirection/VerticalScrollDirection/. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D103411
This commit is contained in:
Hiroyuki Ikezoe
2021-03-02 08:06:25 +00:00
parent 9a5f7df99f
commit 8078bf5a93
3 changed files with 6 additions and 6 deletions

View File

@@ -2366,7 +2366,7 @@ NS_IMETHODIMP
PresShell::PageMove(bool aForward, bool aExtend) {
nsIFrame* frame = nullptr;
if (!aExtend) {
frame = do_QueryFrame(GetScrollableFrameToScroll(VerticalScollDirection));
frame = do_QueryFrame(GetScrollableFrameToScroll(VerticalScrollDirection));
// If there is no scrollable frame, get the frame to move caret instead.
}
if (!frame || frame->PresContext() != mPresContext) {
@@ -2386,7 +2386,7 @@ PresShell::PageMove(bool aForward, bool aExtend) {
NS_IMETHODIMP
PresShell::ScrollPage(bool aForward) {
nsIScrollableFrame* scrollFrame =
GetScrollableFrameToScroll(VerticalScollDirection);
GetScrollableFrameToScroll(VerticalScrollDirection);
if (scrollFrame) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::SCROLL_INPUT_METHODS,
@@ -2402,7 +2402,7 @@ PresShell::ScrollPage(bool aForward) {
NS_IMETHODIMP
PresShell::ScrollLine(bool aForward) {
nsIScrollableFrame* scrollFrame =
GetScrollableFrameToScroll(VerticalScollDirection);
GetScrollableFrameToScroll(VerticalScrollDirection);
if (scrollFrame) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::SCROLL_INPUT_METHODS,
@@ -2440,7 +2440,7 @@ PresShell::ScrollCharacter(bool aRight) {
NS_IMETHODIMP
PresShell::CompleteScroll(bool aForward) {
nsIScrollableFrame* scrollFrame =
GetScrollableFrameToScroll(VerticalScollDirection);
GetScrollableFrameToScroll(VerticalScrollDirection);
if (scrollFrame) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::SCROLL_INPUT_METHODS,