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

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

Issue 1420913008: CC AnimationHost: Fix ProgrammaticScrollAnimator detach scope. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 visitor->trace(m_validationMessageClient); 575 visitor->trace(m_validationMessageClient);
576 visitor->trace(m_multisamplingChangedObservers); 576 visitor->trace(m_multisamplingChangedObservers);
577 visitor->trace(m_frameHost); 577 visitor->trace(m_frameHost);
578 visitor->trace(m_memoryPurgeController); 578 visitor->trace(m_memoryPurgeController);
579 HeapSupplementable<Page>::trace(visitor); 579 HeapSupplementable<Page>::trace(visitor);
580 #endif 580 #endif
581 PageLifecycleNotifier::trace(visitor); 581 PageLifecycleNotifier::trace(visitor);
582 MemoryPurgeClient::trace(visitor); 582 MemoryPurgeClient::trace(visitor);
583 } 583 }
584 584
585 void Page::willCloseLayerTreeView()
586 {
587 if (m_scrollingCoordinator)
588 m_scrollingCoordinator->willCloseLayerTreeView();
589 }
590
585 void Page::willBeDestroyed() 591 void Page::willBeDestroyed()
586 { 592 {
587 RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame; 593 RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame;
588 594
589 mainFrame->detach(FrameDetachType::Remove); 595 mainFrame->detach(FrameDetachType::Remove);
590 596
591 if (mainFrame->isLocalFrame()) { 597 if (mainFrame->isLocalFrame()) {
592 toLocalFrame(mainFrame.get())->setView(nullptr); 598 toLocalFrame(mainFrame.get())->setView(nullptr);
593 } else { 599 } else {
594 ASSERT(m_mainFrame->isRemoteFrame()); 600 ASSERT(m_mainFrame->isRemoteFrame());
(...skipping 24 matching lines...) Expand all
619 { 625 {
620 } 626 }
621 627
622 Page::PageClients::~PageClients() 628 Page::PageClients::~PageClients()
623 { 629 {
624 } 630 }
625 631
626 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 632 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
627 633
628 } // namespace blink 634 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698