Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: Source/modules/performance/WorkerGlobalScopePerformance.cpp

Issue 111743007: Add the SharedWorker.workerStart property for high resolution timers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code style compliance Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/performance/WorkerGlobalScopePerformance.cpp
diff --git a/Source/modules/performance/WorkerGlobalScopePerformance.cpp b/Source/modules/performance/WorkerGlobalScopePerformance.cpp
index 3eb7adb356bb43a1c62fe160a4981e54be7eb56b..94939d9b9dbe15f78d08e05662a0f1df30c3f3f2 100644
--- a/Source/modules/performance/WorkerGlobalScopePerformance.cpp
+++ b/Source/modules/performance/WorkerGlobalScopePerformance.cpp
@@ -62,13 +62,13 @@ WorkerGlobalScopePerformance* WorkerGlobalScopePerformance::from(WorkerGlobalSco
WorkerPerformance* WorkerGlobalScopePerformance::performance(WorkerGlobalScope* context)
{
- return from(context)->getPerformance(context);
+ return from(context)->performance();
}
-WorkerPerformance* WorkerGlobalScopePerformance::getPerformance(WorkerGlobalScope* context)
+WorkerPerformance* WorkerGlobalScopePerformance::performance()
{
if (!m_performance)
- m_performance = WorkerPerformance::create(context);
+ m_performance = WorkerPerformance::create();
return m_performance.get();
}
« no previous file with comments | « Source/modules/performance/WorkerGlobalScopePerformance.h ('k') | Source/modules/performance/WorkerPerformance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698