Bug 1156392 - Remove an ifdef condition that we don't need any more. r=tn

This commit is contained in:
Kartikaya Gupta 2015-12-01 22:21:42 -05:00
Родитель 373cfa1365
Коммит 0f7fe3417c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1096,7 +1096,7 @@ ScrollFrameHelper::HandleScrollbarStyleSwitching()
}
}
#if defined(MOZ_B2G) || (defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_ANDROID_APZ))
#if defined(MOZ_B2G) || defined(MOZ_WIDGET_ANDROID)
static bool IsFocused(nsIContent* aContent)
{
// Some content elements, like the GetContent() of a scroll frame
@ -1138,7 +1138,7 @@ ScrollFrameHelper::WantAsyncScroll() const
bool isHScrollable = !!(directions & nsIScrollableFrame::HORIZONTAL) &&
(styles.mHorizontal != NS_STYLE_OVERFLOW_HIDDEN);
#if defined(MOZ_B2G) || (defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_ANDROID_APZ))
#if defined(MOZ_B2G) || defined(MOZ_WIDGET_ANDROID)
// Mobile platforms need focus to scroll.
bool canScrollWithoutScrollbars = IsFocused(mOuter->GetContent());
#else