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

Unified Diff: third_party/WebKit/Source/core/svg/SVGStyleElement.cpp

Issue 2354773003: Make stylesheet owner node a reference instead of pointer. (Closed)
Patch Set: const Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
index 8a9ad0bd8e984b609a37ae5185b864c4f3900c5b..9b213c7192b3f935d19321331363e8bd98625fd3 100644
--- a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
@@ -111,7 +111,7 @@ void SVGStyleElement::parseAttribute(const QualifiedName& name, const AtomicStri
void SVGStyleElement::finishParsingChildren()
{
- StyleElement::ProcessingResult result = StyleElement::finishParsingChildren(this);
+ StyleElement::ProcessingResult result = StyleElement::finishParsingChildren(*this);
SVGElement::finishParsingChildren();
if (result == StyleElement::ProcessingFatalError)
notifyLoadedSheetAndAllCriticalSubresources(ErrorOccurredLoadingSubresource);
@@ -120,26 +120,26 @@ void SVGStyleElement::finishParsingChildren()
Node::InsertionNotificationRequest SVGStyleElement::insertedInto(ContainerNode* insertionPoint)
{
SVGElement::insertedInto(insertionPoint);
- StyleElement::insertedInto(this, insertionPoint);
+ StyleElement::insertedInto(*this, insertionPoint);
return InsertionShouldCallDidNotifySubtreeInsertions;
}
void SVGStyleElement::didNotifySubtreeInsertionsToDocument()
{
- if (StyleElement::processStyleSheet(document(), this) == StyleElement::ProcessingFatalError)
+ if (StyleElement::processStyleSheet(document(), *this) == StyleElement::ProcessingFatalError)
notifyLoadedSheetAndAllCriticalSubresources(ErrorOccurredLoadingSubresource);
}
void SVGStyleElement::removedFrom(ContainerNode* insertionPoint)
{
SVGElement::removedFrom(insertionPoint);
- StyleElement::removedFrom(this, insertionPoint);
+ StyleElement::removedFrom(*this, insertionPoint);
}
void SVGStyleElement::childrenChanged(const ChildrenChange& change)
{
SVGElement::childrenChanged(change);
- if (StyleElement::childrenChanged(this) == StyleElement::ProcessingFatalError)
+ if (StyleElement::childrenChanged(*this) == StyleElement::ProcessingFatalError)
notifyLoadedSheetAndAllCriticalSubresources(ErrorOccurredLoadingSubresource);
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698