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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/String16STL.h

Issue 2098523002: Fix some issues found by coverity scans on Node.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h b/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
index e76e9775fb9ebc60e76deddfaeda0fa4a9273458..a3e6d215a964b23e129b2efb8ebad4ede290b1d4 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
@@ -136,7 +136,7 @@ private:
// presubmit: allow wstring
wstring m_impl;
mutable bool has_hash = false;
- mutable std::size_t hash_code;
+ mutable std::size_t hash_code = 0;
};
static inline bool isSpaceOrNewline(UChar c)

Powered by Google App Engine
This is Rietveld 408576698