| Index: third_party/WebKit/Source/modules/canvas2d/MouseEventHitRegion.cpp
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/MouseEventHitRegion.cpp b/third_party/WebKit/Source/modules/canvas2d/MouseEventHitRegion.cpp
|
| deleted file mode 100644
|
| index 71b628416551ee3daad5376353fa6165ad38da7b..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/modules/canvas2d/MouseEventHitRegion.cpp
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "modules/canvas2d/MouseEventHitRegion.h"
|
| -
|
| -#include "core/events/MouseEvent.h"
|
| -#include "core/html/HTMLCanvasElement.h"
|
| -
|
| -namespace blink {
|
| -
|
| -String MouseEventHitRegion::region(MouseEvent& event)
|
| -{
|
| - if (!event.target() || !isHTMLCanvasElement(event.target()->toNode()))
|
| - return String();
|
| -
|
| - HTMLCanvasElement* canvas = toHTMLCanvasElement(event.target()->toNode());
|
| - return regionIdFromAbsoluteLocation(*canvas, event.absoluteLocation());
|
| -}
|
| -
|
| -} // namespace blink
|
| -
|
|
|