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

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

Issue 322163003: Rename AncestorDependentProperties to CompositingInputs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar renaming Created 6 years, 6 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 1718
1719 void Element::setNeedsCompositingUpdate() 1719 void Element::setNeedsCompositingUpdate()
1720 { 1720 {
1721 if (!document().isActive()) 1721 if (!document().isActive())
1722 return; 1722 return;
1723 RenderBoxModelObject* renderer = renderBoxModelObject(); 1723 RenderBoxModelObject* renderer = renderBoxModelObject();
1724 if (!renderer) 1724 if (!renderer)
1725 return; 1725 return;
1726 if (!renderer->hasLayer()) 1726 if (!renderer->hasLayer())
1727 return; 1727 return;
1728 renderer->layer()->setNeedsToUpdateAncestorDependentProperties(); 1728 renderer->layer()->setNeedsCompositingInputsUpdate();
1729 document().renderView()->compositor()->setNeedsCompositingUpdate(Compositing UpdateAfterCompositingInputChange); 1729 document().renderView()->compositor()->setNeedsCompositingUpdate(Compositing UpdateAfterCompositingInputChange);
1730 } 1730 }
1731 1731
1732 void Element::setCustomElementDefinition(PassRefPtr<CustomElementDefinition> def inition) 1732 void Element::setCustomElementDefinition(PassRefPtr<CustomElementDefinition> def inition)
1733 { 1733 {
1734 if (!hasRareData() && !definition) 1734 if (!hasRareData() && !definition)
1735 return; 1735 return;
1736 ASSERT(!customElementDefinition()); 1736 ASSERT(!customElementDefinition());
1737 ensureElementRareData().setCustomElementDefinition(definition); 1737 ensureElementRareData().setCustomElementDefinition(definition);
1738 } 1738 }
(...skipping 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
3323 3323
3324 void Element::trace(Visitor* visitor) 3324 void Element::trace(Visitor* visitor)
3325 { 3325 {
3326 if (hasRareData()) 3326 if (hasRareData())
3327 visitor->trace(elementRareData()); 3327 visitor->trace(elementRareData());
3328 3328
3329 ContainerNode::trace(visitor); 3329 ContainerNode::trace(visitor);
3330 } 3330 }
3331 3331
3332 } // namespace WebCore 3332 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698