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

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

Issue 209433004: Do not zero-initialize RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. 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/MediaQueryExp.cpp
diff --git a/Source/core/css/MediaQueryExp.cpp b/Source/core/css/MediaQueryExp.cpp
index 68cb8f8ca27bc08bdf060235fc96a31068bd3bfe..1b8a8048e256bb05a2de1930c7577392a3fb6e0c 100644
--- a/Source/core/css/MediaQueryExp.cpp
+++ b/Source/core/css/MediaQueryExp.cpp
@@ -215,7 +215,7 @@ PassOwnPtrWillBeRawPtr<MediaQueryExp> MediaQueryExp::createIfValid(const String&
{
ASSERT(!mediaFeature.isNull());
- RefPtrWillBeRawPtr<CSSValue> cssValue;
+ RefPtrWillBeRawPtr<CSSValue> cssValue = nullptr;
bool isValid = false;
String lowerMediaFeature = attemptStaticStringCreation(mediaFeature.lower());

Powered by Google App Engine
This is Rietveld 408576698