| Index: ui/compositor/test/draw_waiter_for_test.h
 | 
| diff --git a/ui/compositor/test/draw_waiter_for_test.h b/ui/compositor/test/draw_waiter_for_test.h
 | 
| index adae9178cb4d9555f44374fbd2b6bb6024ca6feb..55ca2fff0543d9edffb998c1dc496390a626ca8e 100644
 | 
| --- a/ui/compositor/test/draw_waiter_for_test.h
 | 
| +++ b/ui/compositor/test/draw_waiter_for_test.h
 | 
| @@ -20,22 +20,13 @@
 | 
|    // Waits for a draw to be issued by the compositor. If the test times out
 | 
|    // here, there may be a logic error in the compositor code causing it
 | 
|    // not to draw.
 | 
| -  static void WaitForCompositingStarted(Compositor* compositor);
 | 
| -
 | 
| -  // Waits for a swap to be completed from the compositor.
 | 
| -  static void WaitForCompositingEnded(Compositor* compositor);
 | 
| +  static void Wait(Compositor* compositor);
 | 
|  
 | 
|    // Waits for a commit instead of a draw.
 | 
|    static void WaitForCommit(Compositor* compositor);
 | 
|  
 | 
|   private:
 | 
| -  enum WaitEvent {
 | 
| -    WAIT_FOR_COMMIT,
 | 
| -    WAIT_FOR_COMPOSITING_STARTED,
 | 
| -    WAIT_FOR_COMPOSITING_ENDED,
 | 
| -  };
 | 
| -
 | 
| -  DrawWaiterForTest(WaitEvent wait_event);
 | 
| +  DrawWaiterForTest();
 | 
|    ~DrawWaiterForTest() override;
 | 
|  
 | 
|    void WaitImpl(Compositor* compositor);
 | 
| @@ -50,7 +41,7 @@
 | 
|  
 | 
|    scoped_ptr<base::RunLoop> wait_run_loop_;
 | 
|  
 | 
| -  WaitEvent wait_event_;
 | 
| +  bool wait_for_commit_;
 | 
|  
 | 
|    DISALLOW_COPY_AND_ASSIGN(DrawWaiterForTest);
 | 
|  };
 | 
| 
 |