| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |