summaryrefslogtreecommitdiffstats
path: root/chrome/views/custom_frame_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r--chrome/views/custom_frame_window.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc
index 08f8e6d..711ccc8 100644
--- a/chrome/views/custom_frame_window.cc
+++ b/chrome/views/custom_frame_window.cc
@@ -889,6 +889,13 @@ void CustomFrameWindow::UpdateWindowTitle() {
Window::UpdateWindowTitle();
}
+void CustomFrameWindow::UpdateWindowIcon() {
+ // The icon will be re-validated during painting.
+ non_client_view_->SchedulePaint();
+ // Call the base class so that places like the Task Bar get updated.
+ Window::UpdateWindowIcon();
+}
+
void CustomFrameWindow::EnableClose(bool enable) {
non_client_view_->EnableClose(enable);
// Make sure the SysMenu changes to reflect this change as well.