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

Side by Side Diff: Source/core/dom/Touch.cpp

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 unified diff | Download patch
« no previous file with comments | « Source/core/dom/Touch.h ('k') | Source/core/dom/Touch.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2008, The Android Open Source Project 2 * Copyright 2008, The Android Open Source Project
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 , m_pageY(pageY) 84 , m_pageY(pageY)
85 , m_radiusX(radiusX) 85 , m_radiusX(radiusX)
86 , m_radiusY(radiusY) 86 , m_radiusY(radiusY)
87 , m_rotationAngle(rotationAngle) 87 , m_rotationAngle(rotationAngle)
88 , m_force(force) 88 , m_force(force)
89 , m_absoluteLocation(absoluteLocation) 89 , m_absoluteLocation(absoluteLocation)
90 { 90 {
91 ScriptWrappable::init(this); 91 ScriptWrappable::init(this);
92 } 92 }
93 93
94 PassRefPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget) const 94 PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget ) const
95 { 95 {
96 return adoptRef(new Touch(eventTarget, m_identifier, m_clientX, m_clientY, m _screenX, m_screenY, m_pageX, m_pageY, m_radiusX, m_radiusY, m_rotationAngle, m_ force, m_absoluteLocation)); 96 return adoptRefWillBeNoop(new Touch(eventTarget, m_identifier, m_clientX, m_ clientY, m_screenX, m_screenY, m_pageX, m_pageY, m_radiusX, m_radiusY, m_rotatio nAngle, m_force, m_absoluteLocation));
97 } 97 }
98 98
99 } // namespace WebCore 99 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Touch.h ('k') | Source/core/dom/Touch.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698