| Index: ui/gfx/win/direct_manipulation.cc
|
| diff --git a/ui/gfx/win/direct_manipulation.cc b/ui/gfx/win/direct_manipulation.cc
|
| index f7f4aa5a36b8897e2dfe829b5f8b8af6aa10608a..2014c7088544c26b0ec188b78011d4f989c7e208 100644
|
| --- a/ui/gfx/win/direct_manipulation.cc
|
| +++ b/ui/gfx/win/direct_manipulation.cc
|
| @@ -91,8 +91,12 @@ void DirectManipulationHelper::SetBounds(const gfx::Rect& bounds) {
|
|
|
| void DirectManipulationHelper::Activate(HWND window) {
|
| DCHECK(::IsWindow(window));
|
| - HRESULT hr = manager_->Activate(window);
|
| - CHECK(SUCCEEDED(hr));
|
| + manager_->Activate(window);
|
| +}
|
| +
|
| +void DirectManipulationHelper::Deactivate(HWND window) {
|
| + DCHECK(::IsWindow(window));
|
| + manager_->Deactivate(window);
|
| }
|
|
|
| void DirectManipulationHelper:: HandleMouseWheel(HWND window, UINT message,
|
|
|