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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Fix fullscreen 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
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 7aae88c83b5a16951b3eb756e306129b334a7f90..34acd53b9925e0a2a4d76a4a2ee843724f41ebf8 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1746,9 +1746,6 @@ void Element::detachLayoutTree(const AttachContext& context) {
if (context.clearInvalidation)
document().styleEngine().styleInvalidator().clearInvalidation(*this);
- if (svgFilterNeedsLayerUpdate())
- document().unscheduleSVGFilterLayerUpdateHack(*this);
-
setNeedsResizeObserverUpdate();
DCHECK(needsAttach());
@@ -1953,8 +1950,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
@@ -3618,10 +3614,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();

Powered by Google App Engine
This is Rietveld 408576698