Index: win8/metro_driver/chrome_app_view_ash.cc |
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc |
index d0530bdb75c587f4f64e524aa9e2cd60492cfca7..2e8b1cb86afadc5ae20456e2215dfff1c638a1b6 100644 |
--- a/win8/metro_driver/chrome_app_view_ash.cc |
+++ b/win8/metro_driver/chrome_app_view_ash.cc |
@@ -284,7 +284,7 @@ void RunMessageLoop(winui::Core::ICoreDispatcher* dispatcher) { |
// 1 - User action like ALT-F4. |
// 2 - Calling ICoreApplicationExit::Exit(). |
// 3- Posting WM_CLOSE to the core window. |
- HRESULT hr = dispatcher->ProcessEvents( |
+ dispatcher->ProcessEvents( |
winui::Core::CoreProcessEventsOption |
::CoreProcessEventsOption_ProcessUntilQuit); |
@@ -775,7 +775,7 @@ void ChromeAppViewAsh::OnOpenURLOnDesktop(const base::FilePath& shortcut, |
sei.lpFile = file.c_str(); |
sei.lpDirectory = L""; |
sei.lpParameters = url.c_str(); |
- BOOL result = ShellExecuteEx(&sei); |
+ ShellExecuteEx(&sei); |
} |
void ChromeAppViewAsh::OnSetCursor(HCURSOR cursor) { |