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

Unified Diff: ui/aura/window.cc

Issue 11614037: Call ShowRootWindow on NativeWindow's RootWindow to display the window. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Reworked patch Created 7 years, 11 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
« content/shell/shell.h ('K') | « content/shell/shell_stacking_client_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 9eec35c77f620fb283ee87a8f4ed227fc1b87f89..a3caa03af98753181e493b1d04f19aeff66c7b25 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -321,7 +321,7 @@ void Window::SetExternalTexture(ui::Texture* texture) {
void Window::SetDefaultParentByRootWindow(RootWindow* root_window,
const gfx::Rect& bounds_in_screen) {
// TODO(erg): Enable this DCHECK once it is safe.
- // DCHECK(root_window);
+ DCHECK(root_window);
oshima 2013/01/17 08:57:56 Are you sure this is safe for all cases? (I just s
// Stacking clients are mandatory on RootWindow objects.
client::StackingClient* client = client::GetStackingClient(root_window);
« content/shell/shell.h ('K') | « content/shell/shell_stacking_client_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698