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

Unified Diff: Source/core/html/parser/HTMLSrcsetParser.h

Issue 311053011: Initialize all ImageCandidate's member variables (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added initialization test Created 6 years, 6 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 | « no previous file | Source/core/html/parser/HTMLSrcsetParserTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLSrcsetParser.h
diff --git a/Source/core/html/parser/HTMLSrcsetParser.h b/Source/core/html/parser/HTMLSrcsetParser.h
index 829ff530d7ee66c3f9a4de0f137b67de3720c2bd..5ba5bff7f4f980708e77a4945b2169f1e2ede3af 100644
--- a/Source/core/html/parser/HTMLSrcsetParser.h
+++ b/Source/core/html/parser/HTMLSrcsetParser.h
@@ -74,6 +74,8 @@ public:
ImageCandidate()
: m_density(1.0)
+ , m_resourceWidth(UninitializedDescriptor)
+ , m_originAttribute(SrcsetOrigin)
{
}
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLSrcsetParserTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698