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

Side by Side Diff: Source/core/page/Page.cpp

Issue 402433005: Oilpan: Remove support for tracing off-heap HashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix deadWrapper number in heap tests. Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/forms/RadioButtonGroupScope.cpp ('k') | Source/core/svg/SVGCursorElement.cpp » ('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 (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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier()); 591 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier());
592 } 592 }
593 593
594 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier() 594 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier()
595 { 595 {
596 return PageLifecycleNotifier::create(this); 596 return PageLifecycleNotifier::create(this);
597 } 597 }
598 598
599 void Page::trace(Visitor* visitor) 599 void Page::trace(Visitor* visitor)
600 { 600 {
601 #if ENABLE(OILPAN)
601 visitor->trace(m_dragCaretController); 602 visitor->trace(m_dragCaretController);
602 visitor->trace(m_dragController); 603 visitor->trace(m_dragController);
603 visitor->trace(m_contextMenuController); 604 visitor->trace(m_contextMenuController);
604 visitor->trace(m_pointerLockController); 605 visitor->trace(m_pointerLockController);
605 visitor->trace(m_undoStack); 606 visitor->trace(m_undoStack);
606 visitor->trace(m_validationMessageClient); 607 visitor->trace(m_validationMessageClient);
607 visitor->trace(m_multisamplingChangedObservers); 608 visitor->trace(m_multisamplingChangedObservers);
608 visitor->trace(m_frameHost); 609 visitor->trace(m_frameHost);
610 #endif
609 WillBeHeapSupplementable<Page>::trace(visitor); 611 WillBeHeapSupplementable<Page>::trace(visitor);
610 } 612 }
611 613
612 void Page::willBeDestroyed() 614 void Page::willBeDestroyed()
613 { 615 {
614 RefPtr<Frame> mainFrame = m_mainFrame; 616 RefPtr<Frame> mainFrame = m_mainFrame;
615 617
616 if (mainFrame->isLocalFrame()) 618 if (mainFrame->isLocalFrame())
617 toLocalFrame(mainFrame.get())->loader().frameDetached(); 619 toLocalFrame(mainFrame.get())->loader().frameDetached();
618 620
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 , spellCheckerClient(0) 656 , spellCheckerClient(0)
655 , storageClient(0) 657 , storageClient(0)
656 { 658 {
657 } 659 }
658 660
659 Page::PageClients::~PageClients() 661 Page::PageClients::~PageClients()
660 { 662 {
661 } 663 }
662 664
663 } // namespace WebCore 665 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/forms/RadioButtonGroupScope.cpp ('k') | Source/core/svg/SVGCursorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698