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

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

Issue 185413023: Oilpan: move Touch related objects to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid MSVC local class member function restriction 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/EventPath.cpp ('k') | Source/core/events/TouchEventContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TouchEvent.h
diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h
index ff0a766ce885925f37307eb20ed93f80723dddde..d929d9ecc9dc30e8454aa9bf2332fb256f1cf481 100644
--- a/Source/core/events/TouchEvent.h
+++ b/Source/core/events/TouchEvent.h
@@ -62,9 +62,9 @@ public:
TouchList* targetTouches() const { return m_targetTouches.get(); }
TouchList* changedTouches() const { return m_changedTouches.get(); }
- void setTouches(PassRefPtr<TouchList> touches) { m_touches = touches; }
- void setTargetTouches(PassRefPtr<TouchList> targetTouches) { m_targetTouches = targetTouches; }
- void setChangedTouches(PassRefPtr<TouchList> changedTouches) { m_changedTouches = changedTouches; }
+ void setTouches(PassRefPtrWillBeRawPtr<TouchList> touches) { m_touches = touches; }
+ void setTargetTouches(PassRefPtrWillBeRawPtr<TouchList> targetTouches) { m_targetTouches = targetTouches; }
+ void setChangedTouches(PassRefPtrWillBeRawPtr<TouchList> changedTouches) { m_changedTouches = changedTouches; }
virtual bool isTouchEvent() const OVERRIDE;
@@ -80,9 +80,9 @@ private:
int pageY,
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
- RefPtr<TouchList> m_touches;
- RefPtr<TouchList> m_targetTouches;
- RefPtr<TouchList> m_changedTouches;
+ RefPtrWillBePersistent<TouchList> m_touches;
+ RefPtrWillBePersistent<TouchList> m_targetTouches;
+ RefPtrWillBePersistent<TouchList> m_changedTouches;
};
class TouchEventDispatchMediator FINAL : public EventDispatchMediator {
« no previous file with comments | « Source/core/events/EventPath.cpp ('k') | Source/core/events/TouchEventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698