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

Unified Diff: third_party/WebKit/Source/core/page/ContextMenuController.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/ContextMenuController.h
diff --git a/third_party/WebKit/Source/core/page/ContextMenuController.h b/third_party/WebKit/Source/core/page/ContextMenuController.h
index 152aed826611e433b52297d77a3ee78a4db919a9..688c1c974d56e1b6f88addd8aadc5f76fa681ae6 100644
--- a/third_party/WebKit/Source/core/page/ContextMenuController.h
+++ b/third_party/WebKit/Source/core/page/ContextMenuController.h
@@ -45,10 +45,10 @@ class Event;
class LocalFrame;
class Page;
-class CORE_EXPORT ContextMenuController final : public NoBaseWillBeGarbageCollectedFinalized<ContextMenuController> {
- WTF_MAKE_NONCOPYABLE(ContextMenuController); USING_FAST_MALLOC_WILL_BE_REMOVED(ContextMenuController);
+class CORE_EXPORT ContextMenuController final : public GarbageCollectedFinalized<ContextMenuController> {
+ WTF_MAKE_NONCOPYABLE(ContextMenuController);
public:
- static PassOwnPtrWillBeRawPtr<ContextMenuController> create(Page*, ContextMenuClient*);
+ static RawPtr<ContextMenuController> create(Page*, ContextMenuClient*);
~ContextMenuController();
DECLARE_TRACE();
@@ -58,8 +58,8 @@ public:
void documentDetached(Document*);
void handleContextMenuEvent(Event*);
- void showContextMenu(Event*, PassRefPtrWillBeRawPtr<ContextMenuProvider>);
- void showContextMenuAtPoint(LocalFrame*, float x, float y, PassRefPtrWillBeRawPtr<ContextMenuProvider>);
+ void showContextMenu(Event*, RawPtr<ContextMenuProvider>);
+ void showContextMenuAtPoint(LocalFrame*, float x, float y, RawPtr<ContextMenuProvider>);
void contextMenuItemSelected(const ContextMenuItem*);
@@ -75,7 +75,7 @@ private:
ContextMenuClient* m_client;
OwnPtr<ContextMenu> m_contextMenu;
- RefPtrWillBeMember<ContextMenuProvider> m_menuProvider;
+ Member<ContextMenuProvider> m_menuProvider;
HitTestResult m_hitTestResult;
};

Powered by Google App Engine
This is Rietveld 408576698