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

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

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Rebase 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 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
2487 if (node) { 2485 if (node) {
2488 std::stringstream stream; 2486 std::stringstream stream;
2489 node->printNodePathTo(stream); 2487 node->printNodePathTo(stream);
2490 LOG(INFO) << stream.str(); 2488 LOG(INFO) << stream.str();
2491 } else { 2489 } else {
2492 LOG(INFO) << "Cannot showNodePath for <null>"; 2490 LOG(INFO) << "Cannot showNodePath for <null>";
2493 } 2491 }
2494 } 2492 }
2495 2493
2496 #endif 2494 #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