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/events/Event.cpp

Issue 533633002: Fix crash when accessing Event::path(). Now with de-flaked test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use clearTimeout instead of wasFinishedJSTestCalled. Created 6 years, 3 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 | « Source/core/events/Event.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/Event.cpp
diff --git a/Source/core/events/Event.cpp b/Source/core/events/Event.cpp
index 06a00be5de936f979890b3344c886da8e7fd7702..24be91c287da4e4c95225d5257a20d8b12797ac7 100644
--- a/Source/core/events/Event.cpp
+++ b/Source/core/events/Event.cpp
@@ -255,7 +255,7 @@ EventTarget* Event::currentTarget() const
if (SVGElement* svgElement = toSVGElement(node)->correspondingElement())
return svgElement;
}
- return m_currentTarget;
+ return m_currentTarget.get();
}
void Event::trace(Visitor* visitor)
« no previous file with comments | « Source/core/events/Event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698