#include "platform/scroll/ScrollbarThemeOverlay.h"
#include "public/platform/Platform.h"
#include "public/platform/WebRect.h"
-#include "public/platform/default/WebThemeEngine.h"
+#include "public/platform/WebThemeEngine.h"
namespace WebCore {
if (useMockTheme() && !scrollbar->enabled()) {
state = blink::WebThemeEngine::StateDisabled;
} else if (!useMockTheme() && ((checkMin && (scrollbar->currentPos() <= 0))
- || (checkMax && scrollbar->currentPos() == scrollbar->maximum()))) {
+ || (checkMax && scrollbar->currentPos() >= scrollbar->maximum()))) {
state = blink::WebThemeEngine::StateDisabled;
} else {
if (part == scrollbar->pressedPart())