| Index: Source/core/dom/AsyncInitializerResolver.cpp
|
| diff --git a/Source/core/dom/AsyncInitializerResolver.cpp b/Source/core/dom/AsyncInitializerResolver.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3640539a4f07ea9bbc57e624a7a44d9402f69489
|
| --- /dev/null
|
| +++ b/Source/core/dom/AsyncInitializerResolver.cpp
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "config.h"
|
| +#include "core/dom/AsyncInitializerResolver.h"
|
| +
|
| +namespace WebCore {
|
| +
|
| +template<>
|
| +void observerContext(AsyncInitializerContext* context, LifecycleObserver<AsyncInitializerContext>* observer)
|
| +{
|
| + context->wasObservedBy(observer);
|
| +}
|
| +
|
| +template<>
|
| +void unobserverContext(AsyncInitializerContext* context, LifecycleObserver<AsyncInitializerContext>* observer)
|
| +{
|
| + context->wasUnobservedBy(observer);
|
| +}
|
| +
|
| +} // namespace WebCore
|
| +
|
|
|