summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_scrollbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_scrollbar.cc')
-rw-r--r--webkit/glue/plugins/pepper_scrollbar.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/plugins/pepper_scrollbar.cc b/webkit/glue/plugins/pepper_scrollbar.cc
index ecca72e..155bd64 100644
--- a/webkit/glue/plugins/pepper_scrollbar.cc
+++ b/webkit/glue/plugins/pepper_scrollbar.cc
@@ -137,11 +137,11 @@ void Scrollbar::ScrollBy(PP_ScrollBy unit, int32_t multiplier) {
float fmultiplier = 1.0;
WebScrollbar::ScrollGranularity granularity;
- if (unit == PP_WIDGET_SCROLL_BY_LINE) {
+ if (unit == PP_SCROLLBY_LINE) {
granularity = WebScrollbar::ScrollByLine;
- } else if (unit == PP_WIDGET_SCROLL_BY_PAGE) {
+ } else if (unit == PP_SCROLLBY_PAGE) {
granularity = WebScrollbar::ScrollByPage;
- } else if (unit == PP_WIDGET_SCROLL_BY_DOCUMENT) {
+ } else if (unit == PP_SCROLLBY_DOCUMENT) {
granularity = WebScrollbar::ScrollByDocument;
} else {
granularity = WebScrollbar::ScrollByPixel;