diff options
author | pastarmovj@google.com <pastarmovj@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 08:01:01 +0000 |
---|---|---|
committer | pastarmovj@google.com <pastarmovj@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 08:01:01 +0000 |
commit | 1075a76bfad16320990e0d685b3449851c742860 (patch) | |
tree | 1fad9b3ca2c2742d43b92dc5419cbd46d03bdbb6 /ash/display | |
parent | 1262e8cf42d25518557d9e4ec272861924e9faaf (diff) | |
download | chromium_src-1075a76bfad16320990e0d685b3449851c742860.zip chromium_src-1075a76bfad16320990e0d685b3449851c742860.tar.gz chromium_src-1075a76bfad16320990e0d685b3449851c742860.tar.bz2 |
Revert 279887 "Update the window labels if they change in overvi..."
The test failed on one of the bots:
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/31032
> Update the window labels if they change in overview mode.
>
> This code adds a function to a WindowObserver that notfies it of a window title
> change, allowing to update the label in overview mode dynamically.
>
> BUG=387130
> TEST=WindowSelectorTest.CreateLabelUnderWindow
>
> Review URL: https://codereview.chromium.org/331643004
TBR=nsatragno@chromium.org
Review URL: https://codereview.chromium.org/352633007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display')
-rw-r--r-- | ash/display/display_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc index 4fb77b8..f137277 100644 --- a/ash/display/display_controller.cc +++ b/ash/display/display_controller.cc @@ -731,7 +731,7 @@ AshWindowTreeHost* DisplayController::AddWindowTreeHostForDisplay( aura::WindowTreeHost* host = ash_host->AsWindowTreeHost(); host->window()->SetName(base::StringPrintf("RootWindow-%d", host_count++)); - host->window()->SetTitle(base::UTF8ToUTF16(display_info.name())); + host->window()->set_title(base::UTF8ToUTF16(display_info.name())); host->compositor()->SetBackgroundColor(SK_ColorBLACK); // No need to remove our observer observer because the DisplayController // outlives the host. |