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

Unified Diff: Source/core/dom/WheelEvent.cpp

Issue 23381002: WheelEvent created using document.createEvent() is not properly initialized (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « LayoutTests/fast/events/wheelevent-document-createevent-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/WheelEvent.cpp
diff --git a/Source/core/dom/WheelEvent.cpp b/Source/core/dom/WheelEvent.cpp
index 1c000eecec2146a66df376ccae29af9f69281012..bd5c36ef1c78ee54828cd577bb06a16da9a911f4 100644
--- a/Source/core/dom/WheelEvent.cpp
+++ b/Source/core/dom/WheelEvent.cpp
@@ -41,7 +41,10 @@ WheelEventInit::WheelEventInit()
}
WheelEvent::WheelEvent()
- : m_deltaMode(DOM_DELTA_PIXEL)
+ : m_deltaX(0)
+ , m_deltaY(0)
+ , m_deltaZ(0)
+ , m_deltaMode(DOM_DELTA_PIXEL)
, m_directionInvertedFromDevice(false)
{
ScriptWrappable::init(this);
« no previous file with comments | « LayoutTests/fast/events/wheelevent-document-createevent-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698