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

Unified Diff: ui/events/ozone/event_factory_ozone.h

Issue 291473002: ozone: Initialize a subsystem only if necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: ui/events/ozone/event_factory_ozone.h
diff --git a/ui/events/ozone/event_factory_ozone.h b/ui/events/ozone/event_factory_ozone.h
index e244242089c7bc45715fc3e98eee7c6dfa90aa0b..eacaabdb1dd3ca8786e760253c481d0fa61c32b5 100644
--- a/ui/events/ozone/event_factory_ozone.h
+++ b/ui/events/ozone/event_factory_ozone.h
@@ -44,12 +44,9 @@ class EVENTS_EXPORT EventFactoryOzone {
virtual void WarpCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location);
- // Returns the static instance last set using SetInstance().
+ // Returns the singleton instance.
static EventFactoryOzone* GetInstance();
- // Sets the implementation delegate. Ownership is retained by the caller.
- static void SetInstance(EventFactoryOzone*);
-
private:
static EventFactoryOzone* impl_; // not owned

Powered by Google App Engine
This is Rietveld 408576698