| Index: views/controls/scrollbar/native_scroll_bar_win.cc
|
| ===================================================================
|
| --- views/controls/scrollbar/native_scroll_bar_win.cc (revision 74326)
|
| +++ views/controls/scrollbar/native_scroll_bar_win.cc (working copy)
|
| @@ -230,7 +230,7 @@
|
| if (!sb_container_.get())
|
| return false;
|
| int code = -1;
|
| - switch (event.GetKeyCode()) {
|
| + switch (event.key_code()) {
|
| case ui::VKEY_UP:
|
| if (!native_scroll_bar_->IsHorizontal())
|
| code = SB_LINEUP;
|
| @@ -272,7 +272,7 @@
|
| bool NativeScrollBarWin::OnMouseWheel(const MouseWheelEvent& e) {
|
| if (!sb_container_.get())
|
| return false;
|
| - sb_container_->ScrollWithOffset(e.GetOffset());
|
| + sb_container_->ScrollWithOffset(e.offset());
|
| return true;
|
| }
|
|
|
|
|