summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dragclient_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/dragclient_impl.cc')
-rw-r--r--webkit/glue/dragclient_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/dragclient_impl.cc b/webkit/glue/dragclient_impl.cc
index 75a8ba9..dff2ccd 100644
--- a/webkit/glue/dragclient_impl.cc
+++ b/webkit/glue/dragclient_impl.cc
@@ -61,11 +61,11 @@ void DragClientImpl::startDrag(WebCore::DragImageRef drag_image,
static_cast<WebCore::ClipboardChromium*>(clipboard)->dataObject());
WebCore::DragOperation drag_operation_mask;
- if (!clipboard->sourceOperation(drag_operation_mask)) {
+ if (!clipboard->sourceOperation(drag_operation_mask))
drag_operation_mask = WebCore::DragOperationEvery;
- }
- webview_->StartDragging(webkit_glue::IntPointToWebPoint(event_pos),
+ webview_->StartDragging(
+ webkit_glue::IntPointToWebPoint(event_pos),
drag_data,
static_cast<WebKit::WebDragOperationsMask>(drag_operation_mask));
}