Skip to content

Commit

Permalink
Remove unnecessary cast.
Browse files Browse the repository at this point in the history
This is a follow-up on https://codereview.chromium.org/394403003.

BUG=394680

Review URL: https://codereview.chromium.org/421973002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285898 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
vasilii@chromium.org committed Jul 28, 2014
1 parent 6300279 commit c8e0652
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ IN_PROC_BROWSER_TEST_F(ManagePasswordsIconViewTest, CloseOnClick) {
ui::MouseEvent mouse_down(ui::ET_MOUSE_PRESSED,
gfx::Point(10, 10), gfx::Point(900, 60),
ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON);
static_cast<views::View*>(view())->OnMousePressed(mouse_down);
view()->OnMousePressed(mouse_down);
// Wait for the command execution to close the bubble.
content::RunAllPendingInMessageLoop();
EXPECT_FALSE(view()->active());
Expand Down

0 comments on commit c8e0652

Please sign in to comment.