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

Unified Diff: ui/ozone/public/cursor_factory_ozone.h

Issue 2978833002: Making CursorFactoryOzone thread-local (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ui/base/cursor/image_cursors.cc ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/cursor_factory_ozone.h
diff --git a/ui/ozone/public/cursor_factory_ozone.h b/ui/ozone/public/cursor_factory_ozone.h
index 18164baaaa4c753c74755f1be81d6525cf28065e..800595c25922b3cc148921f4efb0f994af33253f 100644
--- a/ui/ozone/public/cursor_factory_ozone.h
+++ b/ui/ozone/public/cursor_factory_ozone.h
@@ -23,7 +23,7 @@ class OZONE_BASE_EXPORT CursorFactoryOzone {
CursorFactoryOzone();
virtual ~CursorFactoryOzone();
- // Returns the singleton instance.
+ // Returns the thread-local instance.
static CursorFactoryOzone* GetInstance();
// Return the default cursor of the specified type. The types are listed in
@@ -53,9 +53,6 @@ class OZONE_BASE_EXPORT CursorFactoryOzone {
// Decrement platform image cursor refcount.
virtual void UnrefImageCursor(PlatformCursor cursor);
-
- private:
- static CursorFactoryOzone* impl_; // not owned
};
} // namespace ui
« no previous file with comments | « ui/base/cursor/image_cursors.cc ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698