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

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

Issue 955583002: InlinedVisitor: Migrate page to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/page/Page.h ('k') | Source/core/page/PageAnimator.h » ('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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 // an event so we keep the frames alive until we are done. 550 // an event so we keep the frames alive until we are done.
551 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext() ) { 551 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext() ) {
552 if (frame->isLocalFrame()) 552 if (frame->isLocalFrame())
553 frames.append(toLocalFrame(frame)); 553 frames.append(toLocalFrame(frame));
554 } 554 }
555 555
556 for (unsigned i = 0; i < frames.size(); ++i) 556 for (unsigned i = 0; i < frames.size(); ++i)
557 frames[i]->localDOMWindow()->acceptLanguagesChanged(); 557 frames[i]->localDOMWindow()->acceptLanguagesChanged();
558 } 558 }
559 559
560 void Page::trace(Visitor* visitor) 560 DEFINE_TRACE(Page)
561 { 561 {
562 #if ENABLE(OILPAN) 562 #if ENABLE(OILPAN)
563 visitor->trace(m_animator); 563 visitor->trace(m_animator);
564 visitor->trace(m_dragCaretController); 564 visitor->trace(m_dragCaretController);
565 visitor->trace(m_dragController); 565 visitor->trace(m_dragController);
566 visitor->trace(m_focusController); 566 visitor->trace(m_focusController);
567 visitor->trace(m_contextMenuController); 567 visitor->trace(m_contextMenuController);
568 visitor->trace(m_inspectorController); 568 visitor->trace(m_inspectorController);
569 visitor->trace(m_pointerLockController); 569 visitor->trace(m_pointerLockController);
570 visitor->trace(m_undoStack); 570 visitor->trace(m_undoStack);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 , inspectorClient(nullptr) 620 , inspectorClient(nullptr)
621 , spellCheckerClient(nullptr) 621 , spellCheckerClient(nullptr)
622 { 622 {
623 } 623 }
624 624
625 Page::PageClients::~PageClients() 625 Page::PageClients::~PageClients()
626 { 626 {
627 } 627 }
628 628
629 } // namespace blink 629 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/page/PageAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698