| Index: third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp b/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| index 837bdd6b1edfad5faa3059dcb72fa0fede56b2f1..fe3639beb7b7e6ea6b67be22258fa7f5ca807b82 100644
|
| --- a/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| @@ -178,7 +178,8 @@ void MouseRelatedEvent::computeRelativePosition() {
|
| FloatPoint(absoluteLocation()), UseTransforms);
|
|
|
| // Adding this here to address crbug.com/570666. Basically we'd like to
|
| - // find the local coordinates relative to the padding box not the border box.
|
| + // find the local coordinates relative to the padding box not the border
|
| + // box.
|
| if (layoutObject->isBoxModelObject()) {
|
| const LayoutBoxModelObject* layoutBox =
|
| toLayoutBoxModelObject(layoutObject);
|
| @@ -247,13 +248,15 @@ int MouseRelatedEvent::pageY() const {
|
|
|
| int MouseRelatedEvent::x() const {
|
| // FIXME: This is not correct.
|
| - // See Microsoft documentation and <http://www.quirksmode.org/dom/w3c_events.html>.
|
| + // See Microsoft documentation and
|
| + // <http://www.quirksmode.org/dom/w3c_events.html>.
|
| return m_clientLocation.x().toInt();
|
| }
|
|
|
| int MouseRelatedEvent::y() const {
|
| // FIXME: This is not correct.
|
| - // See Microsoft documentation and <http://www.quirksmode.org/dom/w3c_events.html>.
|
| + // See Microsoft documentation and
|
| + // <http://www.quirksmode.org/dom/w3c_events.html>.
|
| return m_clientLocation.y().toInt();
|
| }
|
|
|
|
|