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

Side by Side Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 2490163002: Reland of "Tracking reference filter mutation via SVGElementProxy" (Closed)
Patch Set: Fix double observer unregistration; simplify scope selection; add tests Created 4 years, 1 month 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 /* 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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 if (isElementNode() && hasRareData()) 741 if (isElementNode() && hasRareData())
742 toElement(*this).setAnimationStyleChange(false); 742 toElement(*this).setAnimationStyleChange(false);
743 743
744 if (isSVGElement()) 744 if (isSVGElement())
745 toSVGElement(this)->setNeedsStyleRecalcForInstances(changeType, reason); 745 toSVGElement(this)->setNeedsStyleRecalcForInstances(changeType, reason);
746 } 746 }
747 747
748 void Node::clearNeedsStyleRecalc() { 748 void Node::clearNeedsStyleRecalc() {
749 m_nodeFlags &= ~StyleChangeMask; 749 m_nodeFlags &= ~StyleChangeMask;
750 750
751 clearSVGFilterNeedsLayerUpdate();
752
753 if (isElementNode() && hasRareData()) 751 if (isElementNode() && hasRareData())
754 toElement(*this).setAnimationStyleChange(false); 752 toElement(*this).setAnimationStyleChange(false);
755 } 753 }
756 754
757 bool Node::inActiveDocument() const { 755 bool Node::inActiveDocument() const {
758 return isConnected() && document().isActive(); 756 return isConnected() && document().isActive();
759 } 757 }
760 758
761 Node* Node::focusDelegate() { 759 Node* Node::focusDelegate() {
762 return this; 760 return this;
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
2490 if (node) { 2488 if (node) {
2491 std::stringstream stream; 2489 std::stringstream stream;
2492 node->printNodePathTo(stream); 2490 node->printNodePathTo(stream);
2493 LOG(INFO) << stream.str(); 2491 LOG(INFO) << stream.str();
2494 } else { 2492 } else {
2495 LOG(INFO) << "Cannot showNodePath for <null>"; 2493 LOG(INFO) << "Cannot showNodePath for <null>";
2496 } 2494 }
2497 } 2495 }
2498 2496
2499 #endif 2497 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.h ('k') | third_party/WebKit/Source/core/dom/StyleChangeReason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698