Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: webkit/glue/plugins/pepper_scrollbar.cc

Issue 2942001: Bring in the latest PPAPI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_scrollbar.cc
===================================================================
--- webkit/glue/plugins/pepper_scrollbar.cc (revision 51861)
+++ webkit/glue/plugins/pepper_scrollbar.cc (working copy)
@@ -137,11 +137,11 @@
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;
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698