| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| index 13137450a7607b6a13a482ad6800cc33154b1ff5..7e6bd3c1d5acb55448da914c661db784dd404b77 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| @@ -526,8 +526,9 @@ bool WebPluginContainerImpl::isRectTopmost(const WebRect& rect) {
|
| LayoutSize padding((documentRect.width() - 1) / 2,
|
| (documentRect.height() - 1) / 2);
|
| HitTestResult result = frame->eventHandler().hitTestResultAtPoint(
|
| - center, HitTestRequest::ReadOnly | HitTestRequest::Active |
|
| - HitTestRequest::ListBased,
|
| + center,
|
| + HitTestRequest::ReadOnly | HitTestRequest::Active |
|
| + HitTestRequest::ListBased,
|
| padding);
|
| const HitTestResult::NodeSet& nodes = result.listBasedTestResult();
|
| if (nodes.size() != 1)
|
| @@ -788,8 +789,9 @@ void WebPluginContainerImpl::handleKeyboardEvent(KeyboardEvent* event) {
|
| if ((webEvent.modifiers() & WebInputEvent::InputModifiers) ==
|
| WebInputEvent::ControlKey
|
| #endif
|
| - && (webEvent.windowsKeyCode == VKEY_C ||
|
| - webEvent.windowsKeyCode == VKEY_INSERT)
|
| + &&
|
| + (webEvent.windowsKeyCode == VKEY_C ||
|
| + webEvent.windowsKeyCode == VKEY_INSERT)
|
| // Only copy if there's a selection, so that we only ever do this
|
| // for Pepper plugins that support copying. Windowless NPAPI
|
| // plugins will get the event as before.
|
|
|