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

Unified Diff: third_party/WebKit/Source/core/dom/Element.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 2144390e627a4cb977ce75f86580e09f1bc675f7..1c05e659b357b017880ac47288d1d15b47ca1f8d 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1748,9 +1748,6 @@ void Element::detachLayoutTree(const AttachContext& context) {
if (context.clearInvalidation)
document().styleEngine().styleInvalidator().clearInvalidation(*this);
- if (svgFilterNeedsLayerUpdate())
- document().unscheduleSVGFilterLayerUpdateHack(*this);
-
setNeedsResizeObserverUpdate();
DCHECK(needsAttach());
@@ -1955,8 +1952,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change) {
if (LayoutObject* layoutObject = this->layoutObject()) {
if (localChange != NoChange ||
- pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get()) ||
- svgFilterNeedsLayerUpdate()) {
+ pseudoStyleCacheIsInvalid(oldStyle.get(), newStyle.get())) {
layoutObject->setStyle(newStyle.get());
} else {
// Although no change occurred, we use the new style so that the cousin
@@ -3619,10 +3615,6 @@ void Element::updateExtraNamedItemRegistration(const AtomicString& oldId,
toHTMLDocument(document()).addExtraNamedItem(newId);
}
-void Element::scheduleSVGFilterLayerUpdateHack() {
- document().scheduleSVGFilterLayerUpdateHack(*this);
-}
-
ScrollOffset Element::savedLayerScrollOffset() const {
return hasRareData() ? elementRareData()->savedLayerScrollOffset()
: ScrollOffset();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698