| 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 m_pendingStateObject = stateObject; | 479 m_pendingStateObject = stateObject; |
| 480 } | 480 } |
| 481 | 481 |
| 482 DOMWindow::~DOMWindow() | 482 DOMWindow::~DOMWindow() |
| 483 { | 483 { |
| 484 ASSERT(m_hasBeenReset); | 484 ASSERT(m_hasBeenReset); |
| 485 reset(); | 485 reset(); |
| 486 | 486 |
| 487 removeAllEventListeners(); | 487 removeAllEventListeners(); |
| 488 | 488 |
| 489 #if ENABLE(OILPAN) |
| 490 ASSERT(m_document->isDisposed()); |
| 491 #else |
| 489 ASSERT(m_document->isStopped()); | 492 ASSERT(m_document->isStopped()); |
| 493 #endif |
| 494 |
| 490 clearDocument(); | 495 clearDocument(); |
| 491 } | 496 } |
| 492 | 497 |
| 493 const AtomicString& DOMWindow::interfaceName() const | 498 const AtomicString& DOMWindow::interfaceName() const |
| 494 { | 499 { |
| 495 return EventTargetNames::DOMWindow; | 500 return EventTargetNames::DOMWindow; |
| 496 } | 501 } |
| 497 | 502 |
| 498 ExecutionContext* DOMWindow::executionContext() const | 503 ExecutionContext* DOMWindow::executionContext() const |
| 499 { | 504 { |
| (...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1865 visitor->trace(m_media); | 1870 visitor->trace(m_media); |
| 1866 visitor->trace(m_sessionStorage); | 1871 visitor->trace(m_sessionStorage); |
| 1867 visitor->trace(m_localStorage); | 1872 visitor->trace(m_localStorage); |
| 1868 visitor->trace(m_applicationCache); | 1873 visitor->trace(m_applicationCache); |
| 1869 visitor->trace(m_performance); | 1874 visitor->trace(m_performance); |
| 1870 visitor->trace(m_css); | 1875 visitor->trace(m_css); |
| 1871 WillBeHeapSupplementable<DOMWindow>::trace(visitor); | 1876 WillBeHeapSupplementable<DOMWindow>::trace(visitor); |
| 1872 } | 1877 } |
| 1873 | 1878 |
| 1874 } // namespace WebCore | 1879 } // namespace WebCore |
| OLD | NEW |