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

Side by Side Diff: third_party/WebKit/Source/web/OpenedFrameTracker.cpp

Issue 2652923002: Devirtualize Visitor and remove inline visitor specialization. (Closed)
Patch Set: rebased Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "web/OpenedFrameTracker.h" 5 #include "web/OpenedFrameTracker.h"
6 6
7 #include "platform/heap/Handle.h" 7 #include "platform/heap/Handle.h"
8 #include "public/web/WebFrame.h" 8 #include "public/web/WebFrame.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 27 matching lines...) Expand all
38 VisitorDispatcher visitor) { 38 VisitorDispatcher visitor) {
39 HashSet<WebFrame*>::iterator end = m_openedFrames.end(); 39 HashSet<WebFrame*>::iterator end = m_openedFrames.end();
40 for (HashSet<WebFrame*>::iterator it = m_openedFrames.begin(); it != end; 40 for (HashSet<WebFrame*>::iterator it = m_openedFrames.begin(); it != end;
41 ++it) 41 ++it)
42 WebFrame::traceFrame(visitor, *it); 42 WebFrame::traceFrame(visitor, *it);
43 } 43 }
44 44
45 void OpenedFrameTracker::traceFrames(Visitor* visitor) { 45 void OpenedFrameTracker::traceFrames(Visitor* visitor) {
46 traceFramesImpl(visitor); 46 traceFramesImpl(visitor);
47 } 47 }
48 void OpenedFrameTracker::traceFrames(InlinedGlobalMarkingVisitor visitor) {
49 traceFramesImpl(visitor);
50 }
51 48
52 } // namespace blink 49 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/OpenedFrameTracker.h ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698