summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/page/drag_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/page/drag_state.h')
-rw-r--r--chromium/third_party/blink/renderer/core/page/drag_state.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/page/drag_state.h b/chromium/third_party/blink/renderer/core/page/drag_state.h
index f9fc5095531..4ef9d75444f 100644
--- a/chromium/third_party/blink/renderer/core/page/drag_state.h
+++ b/chromium/third_party/blink/renderer/core/page/drag_state.h
@@ -26,7 +26,6 @@
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAGE_DRAG_STATE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAGE_DRAG_STATE_H_
-#include "base/macros.h"
#include "third_party/blink/renderer/core/page/drag_actions.h"
#include "third_party/blink/renderer/platform/heap/handle.h"
@@ -38,6 +37,8 @@ class Node;
class DragState final : public GarbageCollected<DragState> {
public:
DragState() = default;
+ DragState(const DragState&) = delete;
+ DragState& operator=(const DragState&) = delete;
// Element that may be a drag source, for the current mouse gesture.
Member<Node> drag_src_;
@@ -49,9 +50,6 @@ class DragState final : public GarbageCollected<DragState> {
visitor->Trace(drag_src_);
visitor->Trace(drag_data_transfer_);
}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DragState);
};
} // namespace blink