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

Unified Diff: Source/core/html/HTMLFormElement.cpp

Issue 223163004: Oilpan: Fix tracing of events through XMLHttpRequestProgressEventThrottle. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add init for RawPtr in HTMLFormElement. 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
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.cpp
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
index 88cb68f49da46ed8d6a51bea6645d809dc4346a7..c6202ed3dbfa4e24ec73c89184b96e642b79eac3 100644
--- a/Source/core/html/HTMLFormElement.cpp
+++ b/Source/core/html/HTMLFormElement.cpp
@@ -435,7 +435,7 @@ void HTMLFormElement::requestAutocomplete()
void HTMLFormElement::finishRequestAutocomplete(AutocompleteResult result)
{
- RefPtrWillBeRawPtr<Event> event;
+ RefPtrWillBeRawPtr<Event> event = nullptr;
if (result == AutocompleteResultSuccess)
event = Event::create(EventTypeNames::autocomplete);
else if (result == AutocompleteResultErrorDisabled)
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698