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

Unified Diff: chrome/browser/ui/views/panels/panel_stack_view.cc

Issue 13999008: Remove native_stack accessor from StackedPanelCollection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « chrome/browser/ui/panels/stacked_panel_collection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/panels/panel_stack_view.cc
diff --git a/chrome/browser/ui/views/panels/panel_stack_view.cc b/chrome/browser/ui/views/panels/panel_stack_view.cc
index 394cdcec247e13c3b4e691ac9ad93a59d0a216c0..e39f2a3dc1d1a28b7cc7d239df83f09640d71c86 100644
--- a/chrome/browser/ui/views/panels/panel_stack_view.cc
+++ b/chrome/browser/ui/views/panels/panel_stack_view.cc
@@ -190,10 +190,8 @@ void PanelStackView::UpdateWindowOwnerForTaskbarIconAppearance(Panel* panel) {
HWND stack_window = NULL;
StackedPanelCollection* stack = panel->stack();
- if (stack) {
- stack_window = views::HWNDForWidget(
- static_cast<PanelStackView*>(stack->native_stack())->window_);
- }
+ if (stack)
+ stack_window = views::HWNDForWidget(window_);
// The extended style WS_EX_APPWINDOW is used to force a top-level window onto
// the taskbar. In order for multiple stacked panels to appear as one, this
« no previous file with comments | « chrome/browser/ui/panels/stacked_panel_collection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698