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

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

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another build fix. Created 6 years, 7 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 3277 matching lines...) Expand 10 before | Expand all | Expand 10 after
3288 || isHTMLEmbedElement(*this) 3288 || isHTMLEmbedElement(*this)
3289 || isHTMLObjectElement(*this) 3289 || isHTMLObjectElement(*this)
3290 || isHTMLAppletElement(*this) 3290 || isHTMLAppletElement(*this)
3291 || isHTMLCanvasElement(*this)) 3291 || isHTMLCanvasElement(*this))
3292 return false; 3292 return false;
3293 if (FullscreenElementStack::isActiveFullScreenElement(this)) 3293 if (FullscreenElementStack::isActiveFullScreenElement(this))
3294 return false; 3294 return false;
3295 return true; 3295 return true;
3296 } 3296 }
3297 3297
3298 void Element::trace(Visitor* visitor)
3299 {
3300 // FIXME: Oilpan: Perform this tracing directly on the element
3301 // rare data once that is in the heap.
3302 if (hasRareData())
3303 elementRareData()->trace(visitor);
3304 ContainerNode::trace(visitor);
3305 }
3306
3298 } // namespace WebCore 3307 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698