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

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

Issue 23847002: Have StyleElement API take Document as a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « Source/core/svg/SVGStyleElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGStyleElement.cpp
diff --git a/Source/core/svg/SVGStyleElement.cpp b/Source/core/svg/SVGStyleElement.cpp
index acbdab78c1f856783ac05a3a1ba6ca6925267c90..1ae01497303c65ad195d34f76b9b4bcbf72175fc 100644
--- a/Source/core/svg/SVGStyleElement.cpp
+++ b/Source/core/svg/SVGStyleElement.cpp
@@ -40,7 +40,7 @@ inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document*
SVGStyleElement::~SVGStyleElement()
{
- StyleElement::clearDocumentData(&document(), this);
+ StyleElement::clearDocumentData(document(), this);
}
PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName, Document* document, bool createdByParser)
@@ -136,14 +136,14 @@ Node::InsertionNotificationRequest SVGStyleElement::insertedInto(ContainerNode*
void SVGStyleElement::didNotifySubtreeInsertions(ContainerNode* insertionPoint)
{
- StyleElement::processStyleSheet(&document(), this);
+ StyleElement::processStyleSheet(document(), this);
}
void SVGStyleElement::removedFrom(ContainerNode* rootParent)
{
SVGElement::removedFrom(rootParent);
if (rootParent->inDocument())
- StyleElement::removedFromDocument(&document(), this);
+ StyleElement::removedFromDocument(document(), this);
}
void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
« no previous file with comments | « Source/core/svg/SVGStyleElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698