Index: chrome/browser/ui/extensions/shell_window.cc |
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc |
index 9b731216d72dcf592b28aa57a92d8d4e4278c132..8f05e07e055c4288a9a2447899233c836b327750 100644 |
--- a/chrome/browser/ui/extensions/shell_window.cc |
+++ b/chrome/browser/ui/extensions/shell_window.cc |
@@ -46,7 +46,7 @@ ShellWindow* ShellWindow::Create(Profile* profile, |
// TODO(mihaip): remove when ShellWindow has been implemented everywhere. |
CHECK(host); |
-#if defined(TOOLKIT_GTK) |
+#if defined(TOOLKIT_GTK) || defined(TOOLKIT_VIEWS) |
// This object will delete itself when the window is closed. |
// TODO(mihaip): remove the #if block when ShellWindow has been implemented |
// everywhere. |