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

Unified Diff: Source/modules/speech/SpeechRecognitionEvent.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/modules/speech/SpeechRecognitionEvent.h
diff --git a/Source/modules/speech/SpeechRecognitionEvent.h b/Source/modules/speech/SpeechRecognitionEvent.h
index 7ab8eb66662a85409f093007c0c7a0f81a5e5e01..8002b6f676d975885dba75e59e7382c5398c0ff7 100644
--- a/Source/modules/speech/SpeechRecognitionEvent.h
+++ b/Source/modules/speech/SpeechRecognitionEvent.h
@@ -43,7 +43,7 @@ public:
SpeechRecognitionEventInit();
unsigned long resultIndex;
- RefPtrWillBeRawPtr<SpeechRecognitionResultList> results;
+ RefPtrWillBeRawPtr<SpeechRecognitionResultList> results = nullptr;
haraken 2014/03/24 13:52:54 RefPtrWillBeMember.
Mads Ager (chromium) 2014/03/24 14:27:30 Done.
};
class SpeechRecognitionEvent FINAL : public Event {

Powered by Google App Engine
This is Rietveld 408576698