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

Unified Diff: ui/views/widget/native_widget_win.cc

Issue 8818002: Remove debug code for crbug.com/93530. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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: ui/views/widget/native_widget_win.cc
diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
index 5e3ed379dfb218c1fc73ab2e3d2e0ec7277e4b70..bf22fc7b8ed2e6bc642c6ebfd57e842c3a4e90a4 100644
--- a/ui/views/widget/native_widget_win.cc
+++ b/ui/views/widget/native_widget_win.cc
@@ -2225,18 +2225,11 @@ void NativeWidgetWin::LockUpdates() {
// attempting to present a child window's backbuffer onscreen. When these
// two actions race with one another, the child window will either flicker
// or will simply stop updating entirely.
- if (!IsAeroGlassEnabled() && ++lock_updates_count_ == 1) {
+ if (!IsAeroGlassEnabled() && ++lock_updates_count_ == 1)
SetWindowLong(GWL_STYLE, GetWindowLong(GWL_STYLE) & ~WS_VISIBLE);
- }
- // TODO(msw): Remove nested LockUpdates VLOG info for crbug.com/93530.
- VLOG_IF(1, (lock_updates_count_ > 1)) << "Nested LockUpdates call: "
- << lock_updates_count_ << " locks for widget " << this;
}
void NativeWidgetWin::UnlockUpdates() {
- // TODO(msw): Remove nested LockUpdates VLOG info for crbug.com/93530.
- VLOG_IF(1, (lock_updates_count_ > 1)) << "Nested UnlockUpdates call: "
- << lock_updates_count_ << " locks for widget " << this;
if (!IsAeroGlassEnabled() && --lock_updates_count_ <= 0) {
SetWindowLong(GWL_STYLE, GetWindowLong(GWL_STYLE) | WS_VISIBLE);
lock_updates_count_ = 0;
« 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