Chromium Code Reviews| Index: cc/test/layer_tree_test.cc |
| diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc |
| index 6bd79e5615247fe68e7d235710cbe98ad870e630..812859359cbfcc07594e156afcbc2f02f6b03cdc 100644 |
| --- a/cc/test/layer_tree_test.cc |
| +++ b/cc/test/layer_tree_test.cc |
| @@ -183,9 +183,10 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl { |
| return test_hooks_->PrepareToDrawOnThread(this, frame, draw_result); |
| } |
| - void DrawLayers(FrameData* frame) override { |
| - LayerTreeHostImpl::DrawLayers(frame); |
| + bool SwapBuffers(const FrameData& frame) override { |
| + bool r = LayerTreeHostImpl::SwapBuffers(frame); |
|
enne (OOO)
2016/09/07 18:05:52
I know swap is going to go away, but why does Swap
danakj
2016/09/07 18:28:12
What's happening is the frame is being given to th
enne (OOO)
2016/09/07 18:38:08
I figured that this was safe to do in the current
danakj
2016/09/07 18:42:16
Well, usually TestHooks happen *after* LTHI does s
enne (OOO)
2016/09/07 19:02:58
Sure, DrawLayersOnThread always happens after Draw
danakj
2016/09/07 19:05:46
Ah, just cuz I wanted to make tests work with that
|
| test_hooks_->DrawLayersOnThread(this); |
| + return r; |
| } |
| void NotifyReadyToActivate() override { |