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

Unified Diff: ui/aura/window.cc

Issue 11829040: Fix the content_browsertests everywhere maybe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And fix the final ExtensionApiTest.AlertBasic case. 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
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 9eec35c77f620fb283ee87a8f4ed227fc1b87f89..599929083e49a69f2495e4d2f6b49a7004e10bcd 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -320,8 +320,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);
// Stacking clients are mandatory on RootWindow objects.
client::StackingClient* client = client::GetStackingClient(root_window);

Powered by Google App Engine
This is Rietveld 408576698