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

Side by Side Diff: third_party/WebKit/Source/web/WebFrame.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 "public/web/WebFrame.h" 5 #include "public/web/WebFrame.h"
6 6
7 #include "bindings/core/v8/WindowProxyManager.h" 7 #include "bindings/core/v8/WindowProxyManager.h"
8 #include "core/HTMLNames.h" 8 #include "core/HTMLNames.h"
9 #include "core/frame/FrameHost.h" 9 #include "core/frame/FrameHost.h"
10 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 traceFrameImpl(visitor, frame); \ 335 traceFrameImpl(visitor, frame); \
336 } \ 336 } \
337 void WebFrame::traceFrames(VisitorDispatcher visitor, WebFrame* frame) { \ 337 void WebFrame::traceFrames(VisitorDispatcher visitor, WebFrame* frame) { \
338 traceFramesImpl(visitor, frame); \ 338 traceFramesImpl(visitor, frame); \
339 } \ 339 } \
340 void WebFrame::clearWeakFrames(VisitorDispatcher visitor) { \ 340 void WebFrame::clearWeakFrames(VisitorDispatcher visitor) { \
341 clearWeakFramesImpl(visitor); \ 341 clearWeakFramesImpl(visitor); \
342 } 342 }
343 343
344 DEFINE_VISITOR_METHOD(Visitor*) 344 DEFINE_VISITOR_METHOD(Visitor*)
345 DEFINE_VISITOR_METHOD(InlinedGlobalMarkingVisitor)
346 345
347 #undef DEFINE_VISITOR_METHOD 346 #undef DEFINE_VISITOR_METHOD
348 347
349 } // namespace blink 348 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/OpenedFrameTracker.cpp ('k') | third_party/WebKit/Source/web/WebMemoryStatistics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698