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

Differential Revision: https://phabricator.services.mozilla.com/D103411
This commit is contained in:
Hiroyuki Ikezoe 2021-02-26 04:15:16 +00:00
parent 362676fcad
commit e21a249c77
3 changed files with 6 additions and 6 deletions

View File

@ -395,7 +395,7 @@ typedef EnumSet<ScrollDirection> ScrollDirections;
constexpr ScrollDirections EitherScrollDirection(ScrollDirection::eVertical,ScrollDirection::eHorizontal);
constexpr ScrollDirections HorizontalScrollDirection(ScrollDirection::eHorizontal);
constexpr ScrollDirections VerticalScollDirection(ScrollDirection::eVertical);
constexpr ScrollDirections VerticalScrollDirection(ScrollDirection::eVertical);
MOZ_DEFINE_ENUM_CLASS_WITH_BASE(CompositionPayloadType, uint8_t, (

View File

@ -191,7 +191,7 @@ FocusTarget::FocusTarget(PresShell* aRootPresShell,
selectedContent.get(), HorizontalScrollDirection);
nsIScrollableFrame* vertical =
presShell->GetScrollableFrameToScrollForContent(selectedContent.get(),
VerticalScollDirection);
VerticalScrollDirection);
// We might have the globally focused element for scrolling. Gather a ViewID
// for the horizontal and vertical scroll targets of this element.

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,