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

Unified Diff: Source/core/inspector/TimelineRecordFactory.cpp

Issue 213003002: DevTools: allow whitelist of timeline events to be pushed live although in bufferEvent mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same with front-end Created 6 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: Source/core/inspector/TimelineRecordFactory.cpp
diff --git a/Source/core/inspector/TimelineRecordFactory.cpp b/Source/core/inspector/TimelineRecordFactory.cpp
index 5c6f757f26dcf7be3d8bb4a5a6022d2a2b794d7b..e7eb3c2255623ec5fc23e32c3ad94a6479203b1c 100644
--- a/Source/core/inspector/TimelineRecordFactory.cpp
+++ b/Source/core/inspector/TimelineRecordFactory.cpp
@@ -324,5 +324,12 @@ PassRefPtr<JSONObject> TimelineRecordFactory::createEmbedderCallbackData(const S
return data.release();
}
+String TimelineRecordFactory::type(TypeBuilder::Timeline::TimelineEvent* event)
+{
+ String type;
+ event->type(&type);
+ return type;
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698