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

Unified Diff: Source/core/css/CSSValueList.cpp

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/css/CSSValueList.cpp
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp
index b41d46560aab423ca4c00ba0417f95995da9fe7c..cb96e74ed7b167f2bccfcfab27a9c3c11bec8001 100644
--- a/Source/core/css/CSSValueList.cpp
+++ b/Source/core/css/CSSValueList.cpp
@@ -75,7 +75,7 @@ bool CSSValueList::hasValue(CSSValue* val) const
PassRefPtrWillBeRawPtr<CSSValueList> CSSValueList::copy()
{
- RefPtrWillBeRawPtr<CSSValueList> newList;
+ RefPtrWillBeRawPtr<CSSValueList> newList = nullptr;
switch (m_valueListSeparator) {
case SpaceSeparator:
newList = createSpaceSeparated();

Powered by Google App Engine
This is Rietveld 408576698