Index: ash/wm/overview/window_selector.cc |
diff --git a/ash/wm/overview/window_selector.cc b/ash/wm/overview/window_selector.cc |
index c940dff05b12a0243b05f42bb13995ce4d4e5c88..109143ebc4d898ddffdb4c994cd991193471ef44 100644 |
--- a/ash/wm/overview/window_selector.cc |
+++ b/ash/wm/overview/window_selector.cc |
@@ -73,8 +73,7 @@ const unsigned char kTextFilterOpacity = 180; |
const int kTextFilterCornerRadius = 1; |
// A comparator for locating a grid with a given root window. |
-struct RootWindowGridComparator |
- : public std::unary_function<WindowGrid*, bool> { |
+struct RootWindowGridComparator { |
explicit RootWindowGridComparator(const aura::Window* root_window) |
: root_window_(root_window) { |
} |
@@ -87,8 +86,7 @@ struct RootWindowGridComparator |
}; |
// A comparator for locating a selectable window given a targeted window. |
-struct WindowSelectorItemTargetComparator |
- : public std::unary_function<WindowSelectorItem*, bool> { |
+struct WindowSelectorItemTargetComparator { |
explicit WindowSelectorItemTargetComparator(const aura::Window* target_window) |
: target(target_window) { |
} |
@@ -101,8 +99,7 @@ struct WindowSelectorItemTargetComparator |
}; |
// A comparator for locating a selector item for a given root. |
-struct WindowSelectorItemForRoot |
- : public std::unary_function<WindowSelectorItem*, bool> { |
+struct WindowSelectorItemForRoot { |
explicit WindowSelectorItemForRoot(const aura::Window* root) |
: root_window(root) { |
} |