Index: ui/aura/test/test_cursor_client.cc |
diff --git a/ui/aura/test/test_cursor_client.cc b/ui/aura/test/test_cursor_client.cc |
index 6c6dc41f9645d14baaa1c3141a7c591adcdf2e40..f0411ef04b86cdd76af4e0251f62c11fce7ccbc0 100644 |
--- a/ui/aura/test/test_cursor_client.cc |
+++ b/ui/aura/test/test_cursor_client.cc |
@@ -13,6 +13,7 @@ TestCursorClient::TestCursorClient(aura::Window* root_window) |
: visible_(true), |
mouse_events_enabled_(true), |
cursor_lock_count_(0), |
+ calls_to_set_cursor_(0), |
root_window_(root_window) { |
client::SetCursorClient(root_window, this); |
} |
@@ -22,6 +23,7 @@ TestCursorClient::~TestCursorClient() { |
} |
void TestCursorClient::SetCursor(gfx::NativeCursor cursor) { |
+ calls_to_set_cursor_++; |
} |
gfx::NativeCursor TestCursorClient::GetCursor() const { |