Commit bc182060 authored by msw@chromium.org's avatar msw@chromium.org

Remove old debug code for crbug.com/93530.

BUG=93950
TEST=none

Review URL: http://codereview.chromium.org/8818002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113160 0039d316-1c4b-4281-b951-d872f2087c98
parent 8d8ad9e1
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment