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

Unified Diff: third_party/WebKit/Source/web/WebPerformance.cpp

Issue 1511583002: Client Side Speed Index Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/Source/web/WebPerformance.cpp
diff --git a/third_party/WebKit/Source/web/WebPerformance.cpp b/third_party/WebKit/Source/web/WebPerformance.cpp
index ea863b229ae2b566203f190baa0c951d7455a442..1cd3290306e35eaaa56d89819858519aa08a83ea 100644
--- a/third_party/WebKit/Source/web/WebPerformance.cpp
+++ b/third_party/WebKit/Source/web/WebPerformance.cpp
@@ -186,6 +186,12 @@ double WebPerformance::firstImagePaint() const
return millisecondsToSeconds(m_private->timing()->firstImagePaint());
}
+double WebPerformance::speedIndex() const
+{
+ double speedIndex = m_private->timing()->speedIndex();
+ return speedIndex;
+}
+
WebPerformance::WebPerformance(const PassRefPtrWillBeRawPtr<Performance>& performance)
: m_private(performance)
{
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h ('k') | third_party/WebKit/public/web/WebPerformance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698