| Index: ui/touch_selection/touch_handle.cc
|
| diff --git a/ui/touch_selection/touch_handle.cc b/ui/touch_selection/touch_handle.cc
|
| index 0fe3612eab31714ea616529d42ad28eb635c944d..1be71800ab5ce02825539706526fef4f39b0c5d4 100644
|
| --- a/ui/touch_selection/touch_handle.cc
|
| +++ b/ui/touch_selection/touch_handle.cc
|
| @@ -44,23 +44,6 @@ bool RectIntersectsCircle(const gfx::RectF& rect,
|
|
|
| } // namespace
|
|
|
| -// TODO(AviD): Remove this once logging(DCHECK) supports enum class.
|
| -static std::ostream& operator<<(std::ostream& os,
|
| - const TouchHandleOrientation& orientation) {
|
| - switch (orientation) {
|
| - case TouchHandleOrientation::LEFT:
|
| - return os << "LEFT";
|
| - case TouchHandleOrientation::RIGHT:
|
| - return os << "RIGHT";
|
| - case TouchHandleOrientation::CENTER:
|
| - return os << "CENTER";
|
| - case TouchHandleOrientation::UNDEFINED:
|
| - return os << "UNDEFINED";
|
| - default:
|
| - return os << "INVALID: " << static_cast<int>(orientation);
|
| - }
|
| -}
|
| -
|
| // Responsible for rendering a selection or insertion handle for text editing.
|
| TouchHandle::TouchHandle(TouchHandleClient* client,
|
| TouchHandleOrientation orientation,
|
|
|