Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 109889) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -233,7 +233,7 @@ |
content::NotificationService::NoDetails()); |
// TODO(brettw) this should be moved to the view. |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && !defined(USE_AURA) |
// If we still have a window handle, destroy it. GetNativeView can return |
// NULL if this contents was part of a window that closed. |
if (GetNativeView()) { |