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

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

Issue 333313002: Oilpan: move a page's UndoStack to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove redundant semicolon Created 6 years, 6 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
« no previous file with comments | « Source/core/page/Page.h ('k') | no next file » | 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier() 587 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier()
588 { 588 {
589 return PageLifecycleNotifier::create(this); 589 return PageLifecycleNotifier::create(this);
590 } 590 }
591 591
592 void Page::trace(Visitor* visitor) 592 void Page::trace(Visitor* visitor)
593 { 593 {
594 visitor->trace(m_dragCaretController); 594 visitor->trace(m_dragCaretController);
595 visitor->trace(m_dragController); 595 visitor->trace(m_dragController);
596 visitor->trace(m_pointerLockController); 596 visitor->trace(m_pointerLockController);
597 visitor->trace(m_undoStack);
597 visitor->trace(m_validationMessageClient); 598 visitor->trace(m_validationMessageClient);
598 visitor->trace(m_multisamplingChangedObservers); 599 visitor->trace(m_multisamplingChangedObservers);
599 visitor->trace(m_frameHost); 600 visitor->trace(m_frameHost);
600 WillBeHeapSupplementable<Page>::trace(visitor); 601 WillBeHeapSupplementable<Page>::trace(visitor);
601 } 602 }
602 603
603 void Page::willBeDestroyed() 604 void Page::willBeDestroyed()
604 { 605 {
605 if (m_mainFrame && m_mainFrame->isLocalFrame()) 606 if (m_mainFrame && m_mainFrame->isLocalFrame())
606 deprecatedLocalMainFrame()->loader().frameDetached(); 607 deprecatedLocalMainFrame()->loader().frameDetached();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 , spellCheckerClient(0) 644 , spellCheckerClient(0)
644 , storageClient(0) 645 , storageClient(0)
645 { 646 {
646 } 647 }
647 648
648 Page::PageClients::~PageClients() 649 Page::PageClients::~PageClients()
649 { 650 {
650 } 651 }
651 652
652 } // namespace WebCore 653 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698