Chromium Code Reviews| Index: Source/platform/LifecycleObserver.h |
| diff --git a/Source/platform/LifecycleObserver.h b/Source/platform/LifecycleObserver.h |
| index 6637428da094e1f927fe49f5baeec6b75879bacb..5e99c383cec7a16068d09a5e87778cd20609f85a 100644 |
| --- a/Source/platform/LifecycleObserver.h |
| +++ b/Source/platform/LifecycleObserver.h |
| @@ -37,9 +37,10 @@ class LifecycleObserver : public WillBeGarbageCollectedMixin { |
| public: |
| using Context = T; |
| - LifecycleObserver() |
| + LifecycleObserver(Context* context) |
|
haraken
2015/03/23 14:30:43
Add explicit.
sof
2015/03/23 15:06:29
Done, along with making the ctor protected.
|
| : m_lifecycleContext(nullptr) |
| { |
| + setContext(context); |
| } |
| #if !ENABLE(OILPAN) |