| Index: cc/test/fake_web_scrollbar.cc
|
| diff --git a/cc/test/fake_web_scrollbar.cc b/cc/test/fake_web_scrollbar.cc
|
| index e536ff4b07e484cfb8c312f7595f18de85115613..1bd1d44467f66996dde9c15ea1745470a58a3a6c 100644
|
| --- a/cc/test/fake_web_scrollbar.cc
|
| +++ b/cc/test/fake_web_scrollbar.cc
|
| @@ -15,7 +15,7 @@ int FakeWebScrollbar::value() const {
|
| }
|
|
|
| WebKit::WebPoint FakeWebScrollbar::location() const {
|
| - return WebKit::WebPoint();
|
| + return location_;
|
| }
|
|
|
| WebKit::WebSize FakeWebScrollbar::size() const {
|
| @@ -68,6 +68,11 @@ WebKit::WebScrollbar::Orientation FakeWebScrollbar::orientation() const {
|
| return WebScrollbar::Horizontal;
|
| }
|
|
|
| -FakeWebScrollbar::FakeWebScrollbar() : is_overlay_(false) {}
|
| +void FakeWebScrollbar::SetLocation(const WebKit::WebPoint& location) {
|
| + location_ = location;
|
| +}
|
| +
|
| +FakeWebScrollbar::FakeWebScrollbar()
|
| + : is_overlay_(false), location_(WebKit::WebPoint()) {}
|
|
|
| } // namespace cc
|
|
|