Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: services/ui/ws/test_utils.h

Issue 2189893004: Unify display ids between Display and PlatformDisplay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move id into PlatformDisplay and fix tests. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index bf8d5deed7dff860efde9bc2a33884f87894bcf5..20300eefee479fbb99980b0692eab563bf0f2f53 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -245,6 +245,7 @@ class TestPlatformDisplayFactory : public PlatformDisplayFactory {
private:
int32_t* cursor_id_storage_;
+ int64_t next_display_id = 1;
msw 2016/07/28 19:01:02 nit: trailing underscore
kylechar 2016/07/28 19:20:16 Done.
DISALLOW_COPY_AND_ASSIGN(TestPlatformDisplayFactory);
};

Powered by Google App Engine
This is Rietveld 408576698