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

Unified Diff: chrome/browser/views/frame/browser_frame_win.cc

Issue 118252: Fix for DWM crash.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_frame_win.cc
===================================================================
--- chrome/browser/views/frame/browser_frame_win.cc (revision 17639)
+++ chrome/browser/views/frame/browser_frame_win.cc (working copy)
@@ -257,7 +257,8 @@
void BrowserFrameWin::UpdateDWMFrame() {
// Nothing to do yet.
- if (!GetClientView() || !browser_view_->IsBrowserTypeNormal())
+ if (!GetClientView() || !browser_view_->IsBrowserTypeNormal() ||
+ !win_util::ShouldUseVistaFrame())
return;
// In fullscreen mode, we don't extend glass into the client area at all,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698