Chromium Code Reviews| Index: cc/trees/layer_tree_host_unittest.cc |
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
| index b194491d7606763193f75e034c965c5b022ebeb7..e0cafec5481aee2a0b5f23ad91c819a7bb18ad96 100644 |
| --- a/cc/trees/layer_tree_host_unittest.cc |
| +++ b/cc/trees/layer_tree_host_unittest.cc |
| @@ -4530,6 +4530,10 @@ class SimpleSwapPromiseMonitor : public SwapPromiseMonitor { |
| (*set_needs_redraw_count_)++; |
|
danakj
2014/07/08 16:49:08
Looks like we could do ADD_FAILURE() here too and
Sami
2014/07/09 13:28:55
Well spotted, done.
|
| } |
| + virtual void OnForwardScrollUpdateToMainThreadOnImpl() OVERRIDE { |
| + ADD_FAILURE() << "Should not get called on main thread."; |
| + } |
| + |
| private: |
| int* set_needs_commit_count_; |
| int* set_needs_redraw_count_; |