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

Unified Diff: third_party/WebKit/Source/core/page/DragController.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/page/DragController.h
diff --git a/third_party/WebKit/Source/core/page/DragController.h b/third_party/WebKit/Source/core/page/DragController.h
index 6c703375d5155474a3a216252872a8be9b4eec58..0d72194b822a3a1386b4708822f45746de1059fd 100644
--- a/third_party/WebKit/Source/core/page/DragController.h
+++ b/third_party/WebKit/Source/core/page/DragController.h
@@ -50,13 +50,12 @@ class Node;
class Page;
class PlatformMouseEvent;
-class CORE_EXPORT DragController final : public NoBaseWillBeGarbageCollectedFinalized<DragController> {
+class CORE_EXPORT DragController final : public GarbageCollectedFinalized<DragController> {
WTF_MAKE_NONCOPYABLE(DragController);
- USING_FAST_MALLOC_WILL_BE_REMOVED(DragController);
public:
~DragController();
- static PassOwnPtrWillBeRawPtr<DragController> create(Page*, DragClient*);
+ static RawPtr<DragController> create(Page*, DragClient*);
DragSession dragEntered(DragData*);
void dragExited(DragData*);
@@ -98,12 +97,12 @@ private:
void doSystemDrag(DragImage*, const IntPoint& dragLocation, const IntPoint& dragOrigin, DataTransfer*, LocalFrame*, bool forLink);
void cleanupAfterSystemDrag();
- RawPtrWillBeMember<Page> m_page;
+ Member<Page> m_page;
DragClient* m_client;
- RefPtrWillBeMember<Document> m_documentUnderMouse; // The document the mouse was last dragged over.
- RefPtrWillBeMember<Document> m_dragInitiator; // The Document (if any) that initiated the drag.
- RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse;
+ Member<Document> m_documentUnderMouse; // The document the mouse was last dragged over.
+ Member<Document> m_dragInitiator; // The Document (if any) that initiated the drag.
+ Member<HTMLInputElement> m_fileInputElementUnderMouse;
bool m_documentIsHandlingDrag;
DragDestinationAction m_dragDestinationAction;

Powered by Google App Engine
This is Rietveld 408576698