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

Side by Side Diff: Source/core/dom/Element.cpp

Issue 947393002: InlinedVisitor: Migrate dom 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 3359 matching lines...) Expand 10 before | Expand all | Expand 10 after
3370 // Turn off style sharing for elements that can gain layers for reasons outs ide of the style system. 3370 // Turn off style sharing for elements that can gain layers for reasons outs ide of the style system.
3371 // See comments in LayoutObject::setStyle(). 3371 // See comments in LayoutObject::setStyle().
3372 // FIXME: Why does gaining a layer from outside the style system require dis abling sharing? 3372 // FIXME: Why does gaining a layer from outside the style system require dis abling sharing?
3373 if (isHTMLFrameElementBase(*this) || isHTMLPlugInElement(*this) || isHTMLCan vasElement(*this)) 3373 if (isHTMLFrameElementBase(*this) || isHTMLPlugInElement(*this) || isHTMLCan vasElement(*this))
3374 return false; 3374 return false;
3375 if (Fullscreen::isActiveFullScreenElement(*this)) 3375 if (Fullscreen::isActiveFullScreenElement(*this))
3376 return false; 3376 return false;
3377 return true; 3377 return true;
3378 } 3378 }
3379 3379
3380 void Element::trace(Visitor* visitor) 3380 DEFINE_TRACE(Element)
3381 { 3381 {
3382 #if ENABLE(OILPAN) 3382 #if ENABLE(OILPAN)
3383 if (hasRareData()) 3383 if (hasRareData())
3384 visitor->trace(elementRareData()); 3384 visitor->trace(elementRareData());
3385 visitor->trace(m_elementData); 3385 visitor->trace(m_elementData);
3386 #endif 3386 #endif
3387 ContainerNode::trace(visitor); 3387 ContainerNode::trace(visitor);
3388 } 3388 }
3389 3389
3390 } // namespace blink 3390 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698