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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceRenderTiming.h

Issue 1780523005: Fix JSON serialization of PerformanceEntry subclasses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/core/timing/PerformanceRenderTiming.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceRenderTiming.h b/third_party/WebKit/Source/core/timing/PerformanceRenderTiming.h
index 4f8df46f5c3fedabed1e521774810660d5b6e270..9aea801da3e59a0f52a71b5d1c2fa2dfc0f223d1 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceRenderTiming.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceRenderTiming.h
@@ -53,6 +53,9 @@ public:
DECLARE_VIRTUAL_TRACE();
+protected:
+ void buildJSONValue(V8ObjectBuilder&) const override;
+
private:
PerformanceRenderTiming(Document* requestingDocument, unsigned sourceFrame, double startTime, double finishTime);
~PerformanceRenderTiming() override;

Powered by Google App Engine
This is Rietveld 408576698