Index: ui/compositor/layer_unittest.cc |
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc |
index 08623a79cbe7172aa67dca61262829ee71d1cbe8..0c5c583dc87c4e164377f221b4c6f94faf9bbe86 100644 |
--- a/ui/compositor/layer_unittest.cc |
+++ b/ui/compositor/layer_unittest.cc |
@@ -324,26 +324,18 @@ class NullLayerDelegate : public LayerDelegate { |
class TestCompositorObserver : public CompositorObserver { |
public: |
TestCompositorObserver() |
- : will_start_(false), started_(false), ended_(false), aborted_(false) {} |
+ : started_(false), ended_(false), aborted_(false) {} |
- bool notified() const { return will_start_ && started_ && ended_; } |
+ bool notified() const { started_ && ended_; } |
bool aborted() const { return aborted_; } |
void Reset() { |
- will_start_ = false; |
started_ = false; |
ended_ = false; |
aborted_ = false; |
} |
private: |
- virtual void OnCompositingDidCommit(Compositor* compositor) OVERRIDE { |
- } |
- |
- virtual void OnCompositingWillStart(Compositor* compositor) OVERRIDE { |
- will_start_ = true; |
- } |
- |
virtual void OnCompositingStarted(Compositor* compositor) OVERRIDE { |
started_ = true; |
} |
@@ -356,7 +348,6 @@ class TestCompositorObserver : public CompositorObserver { |
aborted_ = true; |
} |
- bool will_start_; |
bool started_; |
bool ended_; |
bool aborted_; |