| Index: content/browser/web_contents/web_contents_view_aura_browsertest.cc
|
| diff --git a/content/browser/web_contents/web_contents_view_aura_browsertest.cc b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
|
| index 687ce57606f104c9d79885bb55278902cbea59d7..446e078ee7ea1ab74ba0cbbd701d0771e30fc20a 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
|
| @@ -335,14 +335,14 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
|
| ui::TouchEvent press(ui::ET_TOUCH_PRESSED,
|
| gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5),
|
| 0, timestamp);
|
| - dispatcher->AsRootWindowHostDelegate()->OnHostTouchEvent(&press);
|
| + dispatcher->AsWindowTreeHostDelegate()->OnHostTouchEvent(&press);
|
| EXPECT_EQ(1, GetCurrentIndex());
|
|
|
| timestamp += base::TimeDelta::FromMilliseconds(10);
|
| ui::TouchEvent move1(ui::ET_TOUCH_MOVED,
|
| gfx::Point(bounds.right() - 10, bounds.y() + 5),
|
| 0, timestamp);
|
| - dispatcher->AsRootWindowHostDelegate()->OnHostTouchEvent(&move1);
|
| + dispatcher->AsWindowTreeHostDelegate()->OnHostTouchEvent(&move1);
|
| EXPECT_EQ(1, GetCurrentIndex());
|
|
|
| // Swipe back from the right edge, back to the left edge, back to the right
|
| @@ -353,7 +353,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
|
| ui::TouchEvent inc(ui::ET_TOUCH_MOVED,
|
| gfx::Point(x, bounds.y() + 5),
|
| 0, timestamp);
|
| - dispatcher->AsRootWindowHostDelegate()->OnHostTouchEvent(&inc);
|
| + dispatcher->AsWindowTreeHostDelegate()->OnHostTouchEvent(&inc);
|
| EXPECT_EQ(1, GetCurrentIndex());
|
| }
|
|
|
| @@ -362,7 +362,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
|
| ui::TouchEvent inc(ui::ET_TOUCH_MOVED,
|
| gfx::Point(x, bounds.y() + 5),
|
| 0, timestamp);
|
| - dispatcher->AsRootWindowHostDelegate()->OnHostTouchEvent(&inc);
|
| + dispatcher->AsWindowTreeHostDelegate()->OnHostTouchEvent(&inc);
|
| EXPECT_EQ(1, GetCurrentIndex());
|
| }
|
|
|
| @@ -371,7 +371,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
|
| ui::TouchEvent inc(ui::ET_TOUCH_MOVED,
|
| gfx::Point(x, bounds.y() + 5),
|
| 0, timestamp);
|
| - dispatcher->AsRootWindowHostDelegate()->OnHostTouchEvent(&inc);
|
| + dispatcher->AsWindowTreeHostDelegate()->OnHostTouchEvent(&inc);
|
| EXPECT_EQ(1, GetCurrentIndex());
|
| }
|
|
|
|
|