Chromium Code Reviews| Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
| index 4a88d4598398c243cde77a02e86ba1b3fd74ad95..74d5da3ece8088b115eaa8fbfe652fdba6dcd103 100644 |
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
| @@ -1476,8 +1476,10 @@ WebInputEventResult EventHandler::handleMouseReleaseEvent(const PlatformMouseEve |
| const bool shouldDispatchClickEvent = m_clickCount > 0 |
| && !contextMenuEvent |
| && mev.innerNode() && m_clickNode |
| - && mev.innerNode()->canParticipateInFlatTree() && m_clickNode->canParticipateInFlatTree() |
| - && !(selectionController().hasExtendedSelection() && isLinkSelection(mev)); |
|
dtapuska
2016/04/22 18:32:30
This change just seems like formatting...
Navid Zolghadr
2016/04/22 19:09:58
Sure. I change it back to what it was.
|
| + && mev.innerNode()->canParticipateInFlatTree() |
| + && m_clickNode->canParticipateInFlatTree() |
| + && !(selectionController().hasExtendedSelection() |
| + && isLinkSelection(mev)); |
| if (shouldDispatchClickEvent) { |
| // Updates distribution because a 'mouseup' event listener can make the |
| // tree dirty at dispatchMouseEvent() invocation above. |