WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17130
Stop Windows from eating crashes in timer callbacks
https://bugs.webkit.org/show_bug.cgi?id=17130
Summary
Stop Windows from eating crashes in timer callbacks
Kevin Ollivier
Reported
2008-01-31 18:08:45 PST
This issue was already fixed in
r28500
of the Windows port, and we are applying the fix to the wx port. In fact, since wxWidgets internally uses the very callback mechanism that is the source of this problem, we are using the SharedTimerWin.cpp implementation for our Windows timer. Initial fix coded up by Kevin Watters, with minor tweaks by me.
Attachments
Move to SharedTimerWin.cpp impl. to fix callback problem
(5.68 KB, patch)
2008-01-31 18:09 PST
,
Kevin Ollivier
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kevin Ollivier
Comment 1
2008-01-31 18:09:49 PST
Created
attachment 18839
[details]
Move to SharedTimerWin.cpp impl. to fix callback problem
Adam Roben (:aroben)
Comment 2
2008-01-31 21:03:30 PST
Comment on
attachment 18839
[details]
Move to SharedTimerWin.cpp impl. to fix callback problem #include "Page.h" +#if PLATFORM(WIN) #include "PluginViewWin.h" +#endif #include "SystemTime.h" #include "Widget.h" #include <wtf/Assertions.h> +#if PLATFORM(WX) +#include <wx/wx.h> +#endif #include <windows.h> Please put any #ifdef'd headers in their own paragraph after all the non-#ifdef'd headers. That's the style we use in most files like this. + namespace WebCore { This extra newline isn't needed. r=me, even if these issues aren't fixed. It would be nice to fix these before committing though.
Kevin Ollivier
Comment 3
2008-02-02 11:10:58 PST
Landed in
r29937
. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug