Index: chrome/browser/ui/panels/panel_browsertest.cc |
diff --git a/chrome/browser/ui/panels/panel_browsertest.cc b/chrome/browser/ui/panels/panel_browsertest.cc |
index 856377386859aaac1a63b768896b26936e4ae813..1ffb616b58c7df411f517080c3fdf7623f02fbc5 100644 |
--- a/chrome/browser/ui/panels/panel_browsertest.cc |
+++ b/chrome/browser/ui/panels/panel_browsertest.cc |
@@ -40,6 +40,7 @@ |
#include "extensions/common/constants.h" |
#include "net/base/net_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "ui/base/hit_test.h" |
#include "ui/events/event_utils.h" |
#include "ui/gfx/screen.h" |
@@ -1579,7 +1580,7 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, |
gfx::Point mouse_location = panel->GetBounds().origin(); |
panel_manager->StartResizingByMouse(panel, |
mouse_location, |
- panel::RESIZE_TOP_LEFT); |
+ HTTOPLEFT); |
mouse_location.Offset(panel->GetBounds().width() - bigger_size.width(), |
panel->GetBounds().height() - bigger_size.height()); |
panel_manager->ResizeByMouse(mouse_location); |