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

Unified Diff: Source/core/events/UIEvent.h

Issue 211373002: Oilpan: move DOMWindow object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: setNativeInfoForInnerGlobalObject() -> setNativeInfoForHiddenWrapper() Created 6 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
« no previous file with comments | « Source/core/events/TouchEvent.cpp ('k') | Source/core/events/UIEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/UIEvent.h
diff --git a/Source/core/events/UIEvent.h b/Source/core/events/UIEvent.h
index bccb5d936b7a4ed44510b2a9b85618e1cc8508e1..6d9a548b36a8780b87c6d4b09276b90259a067ac 100644
--- a/Source/core/events/UIEvent.h
+++ b/Source/core/events/UIEvent.h
@@ -35,7 +35,7 @@ typedef DOMWindow AbstractView;
struct UIEventInit : public EventInit {
UIEventInit();
- RefPtr<AbstractView> view;
+ RefPtrWillBeMember<AbstractView> view;
int detail;
};
@@ -45,7 +45,7 @@ public:
{
return adoptRef(new UIEvent);
}
- static PassRefPtr<UIEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail)
+ static PassRefPtr<UIEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail)
{
return adoptRef(new UIEvent(type, canBubble, cancelable, view, detail));
}
@@ -55,7 +55,7 @@ public:
}
virtual ~UIEvent();
- void initUIEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView>, int detail);
+ void initUIEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, int detail);
AbstractView* view() const { return m_view.get(); }
AbstractView* view(bool& isNull) const { isNull = !m_view; return m_view.get(); }
@@ -79,11 +79,11 @@ public:
protected:
UIEvent();
- UIEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView>, int detail);
+ UIEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, int detail);
UIEvent(const AtomicString&, const UIEventInit&);
private:
- RefPtr<AbstractView> m_view;
+ RefPtrWillBeMember<AbstractView> m_view;
int m_detail;
};
« no previous file with comments | « Source/core/events/TouchEvent.cpp ('k') | Source/core/events/UIEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698