OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 visitor->trace(m_dragController); | 589 visitor->trace(m_dragController); |
590 visitor->trace(m_contextMenuController); | 590 visitor->trace(m_contextMenuController); |
591 visitor->trace(m_inspectorController); | 591 visitor->trace(m_inspectorController); |
592 visitor->trace(m_pointerLockController); | 592 visitor->trace(m_pointerLockController); |
593 visitor->trace(m_undoStack); | 593 visitor->trace(m_undoStack); |
594 visitor->trace(m_validationMessageClient); | 594 visitor->trace(m_validationMessageClient); |
595 visitor->trace(m_multisamplingChangedObservers); | 595 visitor->trace(m_multisamplingChangedObservers); |
596 visitor->trace(m_frameHost); | 596 visitor->trace(m_frameHost); |
597 #endif | 597 #endif |
598 WillBeHeapSupplementable<Page>::trace(visitor); | 598 WillBeHeapSupplementable<Page>::trace(visitor); |
| 599 LifecycleContext<Page>::trace(visitor); |
599 } | 600 } |
600 | 601 |
601 void Page::willBeDestroyed() | 602 void Page::willBeDestroyed() |
602 { | 603 { |
603 RefPtr<Frame> mainFrame = m_mainFrame; | 604 RefPtr<Frame> mainFrame = m_mainFrame; |
604 | 605 |
605 mainFrame->detach(); | 606 mainFrame->detach(); |
606 | 607 |
607 // Disable all agents prior to resetting the frame view. | 608 // Disable all agents prior to resetting the frame view. |
608 m_inspectorController->willBeDestroyed(); | 609 m_inspectorController->willBeDestroyed(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 , spellCheckerClient(0) | 643 , spellCheckerClient(0) |
643 , storageClient(0) | 644 , storageClient(0) |
644 { | 645 { |
645 } | 646 } |
646 | 647 |
647 Page::PageClients::~PageClients() | 648 Page::PageClients::~PageClients() |
648 { | 649 { |
649 } | 650 } |
650 | 651 |
651 } // namespace blink | 652 } // namespace blink |
OLD | NEW |