| Index: ui/touch_selection/touch_handle.cc
|
| diff --git a/ui/touch_selection/touch_handle.cc b/ui/touch_selection/touch_handle.cc
|
| index ad81711ac6b20572cf153cf085ee61d529ef593f..36cd7e2e55630714cded784b9b3d053725d716bd 100644
|
| --- a/ui/touch_selection/touch_handle.cc
|
| +++ b/ui/touch_selection/touch_handle.cc
|
| @@ -45,23 +45,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,
|
|
|