summaryrefslogtreecommitdiffstats
path: root/ui/aura
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura')
-rw-r--r--ui/aura/window_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
index 532a44a..1025d44 100644
--- a/ui/aura/window_unittest.cc
+++ b/ui/aura/window_unittest.cc
@@ -78,9 +78,9 @@ class DestroyTrackingDelegateImpl : public WindowDelegateImpl {
}
private:
- bool in_destroying_;
int destroying_count_;
int destroyed_count_;
+ bool in_destroying_;
DISALLOW_COPY_AND_ASSIGN(DestroyTrackingDelegateImpl);
};
@@ -268,8 +268,7 @@ TEST_F(WindowTest, DestroyTest) {
{
scoped_ptr<Window> parent(
CreateTestWindowWithDelegate(&parent_delegate, 0, gfx::Rect(), NULL));
- Window* child = CreateTestWindowWithDelegate(&child_delegate, 0,
- gfx::Rect(), parent.get());
+ CreateTestWindowWithDelegate(&child_delegate, 0, gfx::Rect(), parent.get());
}
// Both the parent and child should have been destroyed.
EXPECT_EQ(1, parent_delegate.destroying_count());