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

Unified Diff: chrome/browser/ui/webui/help/version_updater_win.cc

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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 | « chrome/browser/ui/pdf/pdf_unsupported_feature.cc ('k') | components/crash/app/hard_error_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/version_updater_win.cc
diff --git a/chrome/browser/ui/webui/help/version_updater_win.cc b/chrome/browser/ui/webui/help/version_updater_win.cc
index 46253f6a553ac3ed9c75c8eb898dd1c15cb6c0ca..9825fe02ff594e9ff129e41332640258b8937fea 100644
--- a/chrome/browser/ui/webui/help/version_updater_win.cc
+++ b/chrome/browser/ui/webui/help/version_updater_win.cc
@@ -251,12 +251,6 @@ gfx::AcceleratedWidget VersionUpdaterWin::GetElevationParent() {
EnumThreadWindows(GetCurrentThreadId(),
WindowEnumeration,
reinterpret_cast<LPARAM>(&window));
-#if !defined(USE_AURA)
- // If using Aura, we might not have a Visible window in this process. In
- // theory Google update can cope with that.
- DCHECK(window != NULL) << "Failed to find a valid window handle on thread: "
- << GetCurrentThreadId();
-#endif
return window;
}
« no previous file with comments | « chrome/browser/ui/pdf/pdf_unsupported_feature.cc ('k') | components/crash/app/hard_error_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698