| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 117 } |
| 118 | 118 |
| 119 MessageEvent* event() const { return m_event; } | 119 MessageEvent* event() const { return m_event; } |
| 120 SecurityOrigin* targetOrigin() const { return m_targetOrigin.get(); } | 120 SecurityOrigin* targetOrigin() const { return m_targetOrigin.get(); } |
| 121 std::unique_ptr<SourceLocation> takeLocation() { | 121 std::unique_ptr<SourceLocation> takeLocation() { |
| 122 return std::move(m_location); | 122 return std::move(m_location); |
| 123 } | 123 } |
| 124 UserGestureToken* userGestureToken() const { | 124 UserGestureToken* userGestureToken() const { |
| 125 return m_userGestureToken.get(); | 125 return m_userGestureToken.get(); |
| 126 } | 126 } |
| 127 void contextDestroyed() override { | 127 void contextDestroyed(ExecutionContext* destroyedContext) override { |
| 128 SuspendableTimer::contextDestroyed(); | 128 SuspendableTimer::contextDestroyed(destroyedContext); |
| 129 | 129 |
| 130 if (m_disposalAllowed) | 130 if (m_disposalAllowed) |
| 131 dispose(); | 131 dispose(); |
| 132 } | 132 } |
| 133 | 133 |
| 134 // Eager finalization is needed to promptly stop this timer object. | 134 // Eager finalization is needed to promptly stop this timer object. |
| 135 // (see DOMTimer comment for more.) | 135 // (see DOMTimer comment for more.) |
| 136 EAGERLY_FINALIZE(); | 136 EAGERLY_FINALIZE(); |
| 137 DEFINE_INLINE_VIRTUAL_TRACE() { | 137 DEFINE_INLINE_VIRTUAL_TRACE() { |
| 138 visitor->trace(m_event); | 138 visitor->trace(m_event); |
| (...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 DOMWindow::trace(visitor); | 1629 DOMWindow::trace(visitor); |
| 1630 Supplementable<LocalDOMWindow>::trace(visitor); | 1630 Supplementable<LocalDOMWindow>::trace(visitor); |
| 1631 } | 1631 } |
| 1632 | 1632 |
| 1633 DEFINE_TRACE_WRAPPERS(LocalDOMWindow) { | 1633 DEFINE_TRACE_WRAPPERS(LocalDOMWindow) { |
| 1634 visitor->traceWrappers(m_customElements); | 1634 visitor->traceWrappers(m_customElements); |
| 1635 DOMWindow::traceWrappers(visitor); | 1635 DOMWindow::traceWrappers(visitor); |
| 1636 } | 1636 } |
| 1637 | 1637 |
| 1638 } // namespace blink | 1638 } // namespace blink |
| OLD | NEW |