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

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

Issue 1024233002: compositor-worker: Introduce CompositorProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "core/css/PropertySetCSSStyleDeclaration.h" 44 #include "core/css/PropertySetCSSStyleDeclaration.h"
45 #include "core/css/StylePropertySet.h" 45 #include "core/css/StylePropertySet.h"
46 #include "core/css/parser/CSSParser.h" 46 #include "core/css/parser/CSSParser.h"
47 #include "core/css/resolver/StyleResolver.h" 47 #include "core/css/resolver/StyleResolver.h"
48 #include "core/css/resolver/StyleResolverParentScope.h" 48 #include "core/css/resolver/StyleResolverParentScope.h"
49 #include "core/dom/AXObjectCache.h" 49 #include "core/dom/AXObjectCache.h"
50 #include "core/dom/Attr.h" 50 #include "core/dom/Attr.h"
51 #include "core/dom/CSSSelectorWatch.h" 51 #include "core/dom/CSSSelectorWatch.h"
52 #include "core/dom/ClientRect.h" 52 #include "core/dom/ClientRect.h"
53 #include "core/dom/ClientRectList.h" 53 #include "core/dom/ClientRectList.h"
54 #include "core/dom/CompositorProxy.h"
54 #include "core/dom/DatasetDOMStringMap.h" 55 #include "core/dom/DatasetDOMStringMap.h"
55 #include "core/dom/ElementDataCache.h" 56 #include "core/dom/ElementDataCache.h"
56 #include "core/dom/ElementRareData.h" 57 #include "core/dom/ElementRareData.h"
57 #include "core/dom/ElementTraversal.h" 58 #include "core/dom/ElementTraversal.h"
58 #include "core/dom/ExceptionCode.h" 59 #include "core/dom/ExceptionCode.h"
59 #include "core/dom/FirstLetterPseudoElement.h" 60 #include "core/dom/FirstLetterPseudoElement.h"
60 #include "core/dom/Fullscreen.h" 61 #include "core/dom/Fullscreen.h"
61 #include "core/dom/LayoutTreeBuilder.h" 62 #include "core/dom/LayoutTreeBuilder.h"
62 #include "core/dom/MutationObserverInterestGroup.h" 63 #include "core/dom/MutationObserverInterestGroup.h"
63 #include "core/dom/MutationRecord.h" 64 #include "core/dom/MutationRecord.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // With Oilpan, either the Element has been removed from the Document 170 // With Oilpan, either the Element has been removed from the Document
170 // or the Document is dead as well. If the Element has been removed from 171 // or the Document is dead as well. If the Element has been removed from
171 // the Document the element has already been removed from the pending 172 // the Document the element has already been removed from the pending
172 // resources. If the document is also dead, there is no need to remove 173 // resources. If the document is also dead, there is no need to remove
173 // the element from the pending resources. 174 // the element from the pending resources.
174 if (hasPendingResources()) { 175 if (hasPendingResources()) {
175 document().accessSVGExtensions().removeElementFromPendingResources(this) ; 176 document().accessSVGExtensions().removeElementFromPendingResources(this) ;
176 ASSERT(!hasPendingResources()); 177 ASSERT(!hasPendingResources());
177 } 178 }
178 #endif 179 #endif
180 CompositorProxy::notifyElementGone(this);
esprehn 2015/03/25 23:21:47 You want to use a WeakNodeMap, we don't need to du
179 } 181 }
180 182
181 inline ElementRareData* Element::elementRareData() const 183 inline ElementRareData* Element::elementRareData() const
182 { 184 {
183 ASSERT(hasRareData()); 185 ASSERT(hasRareData());
184 return static_cast<ElementRareData*>(rareData()); 186 return static_cast<ElementRareData*>(rareData());
185 } 187 }
186 188
187 inline ElementRareData& Element::ensureElementRareData() 189 inline ElementRareData& Element::ensureElementRareData()
188 { 190 {
(...skipping 3203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3392 { 3394 {
3393 #if ENABLE(OILPAN) 3395 #if ENABLE(OILPAN)
3394 if (hasRareData()) 3396 if (hasRareData())
3395 visitor->trace(elementRareData()); 3397 visitor->trace(elementRareData());
3396 visitor->trace(m_elementData); 3398 visitor->trace(m_elementData);
3397 #endif 3399 #endif
3398 ContainerNode::trace(visitor); 3400 ContainerNode::trace(visitor);
3399 } 3401 }
3400 3402
3401 } // namespace blink 3403 } // namespace blink
OLDNEW
« Source/core/dom/CompositorProxy.h ('K') | « Source/core/dom/CompositorProxy.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698