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

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

Issue 255823009: [WIP] ui/window: Master CL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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.cc
diff --git a/ui/events/ozone/event_factory_ozone.cc b/ui/events/ozone/event_factory_ozone.cc
index 7a4b08948459bef9ce794eb7fc92e5617abea4bb..c8f74a94672cc1b4a3b2c1b5544cd5d0f50d2c05 100644
--- a/ui/events/ozone/event_factory_ozone.cc
+++ b/ui/events/ozone/event_factory_ozone.cc
@@ -20,11 +20,14 @@ EventFactoryOzone::EventFactoryOzone() {}
EventFactoryOzone::~EventFactoryOzone() {}
EventFactoryOzone* EventFactoryOzone::GetInstance() {
- CHECK(impl_) << "No EventFactoryOzone implementation set.";
+ CHECK(impl_) << "No EventFactoryOzone implementation set. " << &impl_;
return impl_;
}
-void EventFactoryOzone::SetInstance(EventFactoryOzone* impl) { impl_ = impl; }
+void EventFactoryOzone::SetInstance(EventFactoryOzone* impl) {
+ LOG(ERROR) << "Setting instance " << impl << " " << &impl_;
+ impl_ = impl;
+}
void EventFactoryOzone::StartProcessingEvents() {}

Powered by Google App Engine
This is Rietveld 408576698