Index: Source/core/svg/SVGElement.h |
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h |
index 9e3070679bf0fce2393bfaef099691f578357437..753a5aff8e1fafa1139d5c2594a49914cbddbe90 100644 |
--- a/Source/core/svg/SVGElement.h |
+++ b/Source/core/svg/SVGElement.h |
@@ -160,22 +160,25 @@ public: |
bool inUseShadowTree() const; |
class InvalidationGuard { |
+ STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(InvalidationGuard); |
public: |
InvalidationGuard(SVGElement* element) : m_element(element) { } |
haraken
2014/06/17 00:52:48
Add explicit.
tkent
2014/06/17 01:40:47
This CL is not responsible for existing style issu
|
~InvalidationGuard() { m_element->invalidateInstances(); } |
+ |
private: |
- SVGElement* m_element; |
+ RawPtrWillBeMember<SVGElement> m_element; |
}; |
class InstanceUpdateBlocker { |
+ STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(InstanceUpdateBlocker); |
public: |
InstanceUpdateBlocker(SVGElement* targetElement); |
haraken
2014/06/17 00:52:48
Add explicit.
|
~InstanceUpdateBlocker(); |
private: |
- SVGElement* m_targetElement; |
+ RawPtrWillBeMember<SVGElement> m_targetElement; |
}; |
void invalidateInstances(); |