| Index: Source/platform/scheduler/ClosureRunnerTask.cpp
|
| diff --git a/Source/core/fetch/AccessControlStatus.h b/Source/platform/scheduler/ClosureRunnerTask.cpp
|
| similarity index 54%
|
| copy from Source/core/fetch/AccessControlStatus.h
|
| copy to Source/platform/scheduler/ClosureRunnerTask.cpp
|
| index a697fc6d5041e01bac03fba3f930d4d62c1f5e17..5ff25b5953e1566fa242cb663a24c7fe0d30e06c 100644
|
| --- a/Source/core/fetch/AccessControlStatus.h
|
| +++ b/Source/platform/scheduler/ClosureRunnerTask.cpp
|
| @@ -2,16 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef AccessControlStatus_h
|
| -#define AccessControlStatus_h
|
| +#include "config.h"
|
| +#include "platform/scheduler/ClosureRunnerTask.h"
|
|
|
| namespace blink {
|
|
|
| -enum AccessControlStatus {
|
| - NotSharableCrossOrigin,
|
| - SharableCrossOrigin
|
| -};
|
| +void ClosureRunnerTask::run()
|
| +{
|
| + (*m_closure)();
|
| +}
|
|
|
| } // namespace blink
|
| -
|
| -#endif // AccessControlStatus_h
|
|
|