Chromium Code Reviews| Index: Source/modules/performance/WorkerPerformance.cpp |
| diff --git a/Source/modules/performance/WorkerPerformance.cpp b/Source/modules/performance/WorkerPerformance.cpp |
| index 6010610195b6070c497a0cd72edbcffda5dec516..ae0c73c15d57b02e88f5ff47289485d3f251b4f3 100644 |
| --- a/Source/modules/performance/WorkerPerformance.cpp |
| +++ b/Source/modules/performance/WorkerPerformance.cpp |
| @@ -31,6 +31,7 @@ |
| #include "config.h" |
| #include "modules/performance/WorkerPerformance.h" |
| +#include "core/timing/MemoryInfo.h" |
| #include "core/workers/DedicatedWorkerGlobalScope.h" |
| #include "core/workers/WorkerGlobalScope.h" |
| #include "wtf/CurrentTime.h" |
| @@ -56,4 +57,9 @@ double WorkerPerformance::now(ExecutionContext* context) const |
| return 1000.0 * (monotonicallyIncreasingTime() - workerGlobalScope->timeOrigin()); |
| } |
| +PassRefPtrWillBeRawPtr<MemoryInfo> WorkerPerformance::memory() const |
| +{ |
| + return MemoryInfo::create(); |
|
abarth-chromium
2014/03/28 17:38:47
Can you add the same FIXME comment here? We shoul
|
| +} |
| + |
| } // namespace WebCore |