| OLD | NEW | 
| (Empty) |  | 
 |   1 // Copyright 2013 The Chromium Authors. All rights reserved. | 
 |   2 // Use of this source code is governed by a BSD-style license that can be | 
 |   3 // found in the LICENSE file. | 
 |   4  | 
 |   5 #include "cc/output/compositor_frame_sink.h" | 
 |   6 #include "cc/test/fake_compositor_frame_sink_client.h" | 
 |   7  | 
 |   8 namespace cc { | 
 |   9  | 
 |  10 void FakeCompositorFrameSinkClient::DidSwapBuffersComplete() { | 
 |  11   swap_count_++; | 
 |  12 } | 
 |  13  | 
 |  14 void FakeCompositorFrameSinkClient::DidLoseCompositorFrameSink() { | 
 |  15   did_lose_compositor_frame_sink_called_ = true; | 
 |  16 } | 
 |  17  | 
 |  18 void FakeCompositorFrameSinkClient::SetMemoryPolicy( | 
 |  19     const ManagedMemoryPolicy& policy) { | 
 |  20   memory_policy_ = policy; | 
 |  21 } | 
 |  22  | 
 |  23 }  // namespace cc | 
| OLD | NEW |