| Index: views/controls/scrollbar/native_scroll_bar_gtk.cc
|
| ===================================================================
|
| --- views/controls/scrollbar/native_scroll_bar_gtk.cc (revision 74326)
|
| +++ views/controls/scrollbar/native_scroll_bar_gtk.cc (working copy)
|
| @@ -44,7 +44,7 @@
|
| bool NativeScrollBarGtk::OnKeyPressed(const KeyEvent& event) {
|
| if (!native_view())
|
| return false;
|
| - switch (event.GetKeyCode()) {
|
| + switch (event.key_code()) {
|
| case ui::VKEY_UP:
|
| if (!native_scroll_bar_->IsHorizontal())
|
| MoveStep(false /* negative */);
|
| @@ -82,7 +82,7 @@
|
| bool NativeScrollBarGtk::OnMouseWheel(const MouseWheelEvent& e) {
|
| if (!native_view())
|
| return false;
|
| - MoveBy(-e.GetOffset()); // e.GetOffset() > 0 means scroll up.
|
| + MoveBy(-e.offset()); // e.GetOffset() > 0 means scroll up.
|
| return true;
|
| }
|
|
|
|
|