Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1334)

Unified Diff: Source/core/page/DragState.h

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/DragData.h ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DragState.h
diff --git a/Source/core/page/DragState.h b/Source/core/page/DragState.h
index 3248cc3290f7b9379b8365e032ff4f55a27e2775..0058502777c737e867e278f4f7bce6db2b314faa 100644
--- a/Source/core/page/DragState.h
+++ b/Source/core/page/DragState.h
@@ -27,6 +27,7 @@
#define DragState_h
#include "core/page/DragActions.h"
+#include "platform/heap/Handle.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
@@ -35,14 +36,15 @@ namespace blink {
class DataTransfer;
class Node;
-class DragState : public NoBaseWillBeGarbageCollected<DragState> {
+// TODO(Oilpan): when Node is always on the heap, just derive from GarbageCollected<>.
+class DragState final : public GarbageCollectedFinalized<DragState> {
WTF_MAKE_NONCOPYABLE(DragState);
public:
DragState() { }
RefPtrWillBeMember<Node> m_dragSrc; // element that may be a drag source, for the current mouse gesture
DragSourceAction m_dragType;
- RefPtrWillBeMember<DataTransfer> m_dragDataTransfer; // used on only the source side of dragging
+ Member<DataTransfer> m_dragDataTransfer; // used on only the source side of dragging
DEFINE_INLINE_TRACE()
{
« no previous file with comments | « Source/core/page/DragData.h ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698