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

Unified Diff: Source/core/xml/XPathParser.h

Issue 209433004: Do not zero-initialize RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix uses of RefPtrWillBeRawPtr Created 6 years, 9 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
Index: Source/core/xml/XPathParser.h
diff --git a/Source/core/xml/XPathParser.h b/Source/core/xml/XPathParser.h
index 16d0fac05a7e61d2d69cfd015ddbaf56bb7dd017..ad1b21cb848473cd8decf5a7c1230187f1de4bb1 100644
--- a/Source/core/xml/XPathParser.h
+++ b/Source/core/xml/XPathParser.h
@@ -122,7 +122,7 @@ private:
unsigned m_nextPos;
String m_data;
int m_lastTokenType;
- RefPtrWillBeRawPtr<XPathNSResolver> m_resolver;
+ RefPtrWillBeRawPtr<XPathNSResolver> m_resolver = nullptr;
haraken 2014/03/24 13:52:54 Then use RefPtrWillBeMember.
Mads Ager (chromium) 2014/03/24 14:27:30 Yes, doen.
HashSet<ParseNode*> m_parseNodes;
HashSet<Vector<OwnPtr<Predicate> >*> m_predicateVectors;

Powered by Google App Engine
This is Rietveld 408576698