| Index: ash/frame/custom_frame_view_ash.cc
|
| diff --git a/ash/frame/custom_frame_view_ash.cc b/ash/frame/custom_frame_view_ash.cc
|
| index 8ab7e23be865b2ec1d9ec47dc7bcd44872aaf143..4e124ed1ac38e23b8eb8e42cfd15900ea826e88a 100644
|
| --- a/ash/frame/custom_frame_view_ash.cc
|
| +++ b/ash/frame/custom_frame_view_ash.cc
|
| @@ -391,7 +391,7 @@ class CustomFrameViewAsh::OverlayView : public views::View {
|
|
|
| // views::View override:
|
| virtual void Layout() OVERRIDE;
|
| - virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
|
| + virtual bool HitTestRect(const gfx::RectF& rect) const OVERRIDE;
|
|
|
| private:
|
| HeaderView* header_view_;
|
| @@ -425,7 +425,8 @@ void CustomFrameViewAsh::OverlayView::Layout() {
|
| }
|
| }
|
|
|
| -bool CustomFrameViewAsh::OverlayView::HitTestRect(const gfx::Rect& rect) const {
|
| +bool CustomFrameViewAsh::OverlayView::HitTestRect(
|
| + const gfx::RectF& rect) const {
|
| // Grab events in the header view. Return false for other events so that they
|
| // can be handled by the client view.
|
| return header_view_->HitTestRect(rect);
|
| @@ -548,7 +549,7 @@ void CustomFrameViewAsh::SchedulePaintInRect(const gfx::Rect& r) {
|
| }
|
| }
|
|
|
| -bool CustomFrameViewAsh::HitTestRect(const gfx::Rect& rect) const {
|
| +bool CustomFrameViewAsh::HitTestRect(const gfx::RectF& rect) const {
|
| // NonClientView hit tests the NonClientFrameView first instead of going in
|
| // z-order. Return false so that events get to the OverlayView.
|
| return false;
|
|
|