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

Unified Diff: Source/WebKit/chromium/public/WebInputEvent.h

Issue 11817055: Merge 138684 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebInputEvent.h
===================================================================
--- Source/WebKit/chromium/public/WebInputEvent.h (revision 139378)
+++ Source/WebKit/chromium/public/WebInputEvent.h (working copy)
@@ -59,10 +59,13 @@
class WebInputEvent {
public:
WebInputEvent(unsigned sizeParam = sizeof(WebInputEvent))
- : timeStampSeconds(0.0)
- , size(sizeParam)
- , type(Undefined)
- , modifiers(0) { }
+ {
+ memset(this, 0, sizeParam);
+ timeStampSeconds = 0.0;
+ size = sizeParam;
+ type = Undefined;
+ modifiers = 0;
+ }
// When we use an input method (or an input method editor), we receive
// two events for a keypress. The former event is a keydown, which
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698