| Index: content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| diff --git a/content/browser/renderer_host/legacy_render_widget_host_win.cc b/content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| index f99cb38ef6e07195ddccbf4b17e54988e97faa05..fbb1fdd8d85455c4283c4523c38f546a68453bac 100644
|
| --- a/content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| +++ b/content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/win/win_util.h"
|
| #include "base/win/windows_version.h"
|
| #include "content/browser/accessibility/browser_accessibility_manager_win.h"
|
| #include "content/browser/accessibility/browser_accessibility_win.h"
|
| @@ -96,6 +97,10 @@ void LegacyRenderWidgetHostHWND::OnFinalMessage(HWND hwnd) {
|
| host_->OnLegacyWindowDestroyed();
|
| host_ = NULL;
|
| }
|
| +
|
| + // Re-enable flicks for just a moment
|
| + base::win::AllowFlicks(hwnd, true);
|
| +
|
| delete this;
|
| }
|
|
|
| @@ -136,6 +141,9 @@ bool LegacyRenderWidgetHostHWND::Init() {
|
| if (direct_manipulation_helper_)
|
| direct_manipulation_helper_->Initialize(hwnd());
|
|
|
| + // Disable pen flicks (http://crbug.com/506977)
|
| + base::win::AllowFlicks(hwnd(), false);
|
| +
|
| return !!SUCCEEDED(hr);
|
| }
|
|
|
|
|