| Index: Source/modules/performance/WorkerGlobalScopePerformance.h
|
| diff --git a/Source/modules/performance/WorkerContextPerformance.h b/Source/modules/performance/WorkerGlobalScopePerformance.h
|
| similarity index 84%
|
| rename from Source/modules/performance/WorkerContextPerformance.h
|
| rename to Source/modules/performance/WorkerGlobalScopePerformance.h
|
| index af56e15a9af37ef53515dc07fd698c7463d97b9b..57dc36b2695bf84578ce48b59196dda8b1ab3dfc 100644
|
| --- a/Source/modules/performance/WorkerContextPerformance.h
|
| +++ b/Source/modules/performance/WorkerGlobalScopePerformance.h
|
| @@ -28,8 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WorkerContextPerformance_h
|
| -#define WorkerContextPerformance_h
|
| +#ifndef WorkerGlobalScopePerformance_h
|
| +#define WorkerGlobalScopePerformance_h
|
|
|
| #include "core/platform/Supplementable.h"
|
|
|
| @@ -38,15 +38,15 @@ namespace WebCore {
|
| class ScriptExecutionContext;
|
| class WorkerPerformance;
|
|
|
| -class WorkerContextPerformance : public Supplement<ScriptExecutionContext> {
|
| +class WorkerGlobalScopePerformance : public Supplement<ScriptExecutionContext> {
|
| public:
|
| - virtual ~WorkerContextPerformance();
|
| - static WorkerContextPerformance* from(ScriptExecutionContext*);
|
| + virtual ~WorkerGlobalScopePerformance();
|
| + static WorkerGlobalScopePerformance* from(ScriptExecutionContext*);
|
|
|
| static WorkerPerformance* performance(ScriptExecutionContext*);
|
|
|
| private:
|
| - WorkerContextPerformance();
|
| + WorkerGlobalScopePerformance();
|
|
|
| WorkerPerformance* getPerformance(ScriptExecutionContext*);
|
| static const char* supplementName();
|
| @@ -56,4 +56,4 @@ private:
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // WorkerContextPerformance_h
|
| +#endif // WorkerGlobalScopePerformance_h
|
|
|