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

Unified Diff: ash/common/wm/window_cycle_list.cc

Issue 2799993003: Removes couple of methods from WmWindow (Closed)
Patch Set: Created 3 years, 8 months 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 | « ash/common/wm/overview/window_selector_item.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_cycle_list.cc
diff --git a/ash/common/wm/window_cycle_list.cc b/ash/common/wm/window_cycle_list.cc
index 390bca8100b2b020787c948686a2e0f5dce228c9..c4841fdf438017328ff3f081624d38920094b825 100644
--- a/ash/common/wm/window_cycle_list.cc
+++ b/ash/common/wm/window_cycle_list.cc
@@ -70,7 +70,7 @@ class WindowPreviewView : public views::View, public aura::WindowObserver {
mirror_view_(window->CreateViewWithRecreatedLayers().release()),
window_observer_(this) {
window_observer_.Add(window->aura_window());
- window_title_->SetText(window->GetTitle());
+ window_title_->SetText(window->aura_window()->GetTitle());
window_title_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
window_title_->SetEnabledColor(SK_ColorWHITE);
window_title_->SetAutoColorReadabilityEnabled(false);
« no previous file with comments | « ash/common/wm/overview/window_selector_item.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698