summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/views/custom_frame_window.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc
index 3221e76..79e2793 100644
--- a/chrome/views/custom_frame_window.cc
+++ b/chrome/views/custom_frame_window.cc
@@ -1339,13 +1339,17 @@ void CustomFrameWindow::InitClass() {
void CustomFrameWindow::LockUpdates() {
lock_updates_ = true;
+ /*
// This message causes invalidations to be discarded until it is called again
// with WPARAM TRUE (see UnlockUpdates).
SendMessage(GetHWND(), WM_SETREDRAW, FALSE, 0);
+ */
}
void CustomFrameWindow::UnlockUpdates() {
+ /*
SendMessage(GetHWND(), WM_SETREDRAW, TRUE, 0);
+ */
lock_updates_ = false;
}