Chromium Code Reviews

Unified Diff: test/cctest/test-trace-event.cc

Issue 2380583002: [tracing] Avoid Gcc compilation fail by declaring AddTraceEvent function in Class derived from Plat… (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « test/cctest/heap/test-incremental-marking.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-trace-event.cc
diff --git a/test/cctest/test-trace-event.cc b/test/cctest/test-trace-event.cc
index cc879df04ba3080f3e583f9e204937e9ef9a5d2e..88f295f30126f69710ae8383be289cd61251c0f0 100644
--- a/test/cctest/test-trace-event.cc
+++ b/test/cctest/test-trace-event.cc
@@ -71,6 +71,7 @@ class MockTracingPlatform : public v8::Platform {
void PerformDelayedTask() {}
+ using Platform::AddTraceEvent;
uint64_t AddTraceEvent(
char phase, const uint8_t* category_enabled_flag, const char* name,
const char* scope, uint64_t id, uint64_t bind_id, int num_args,
« no previous file with comments | « test/cctest/heap/test-incremental-marking.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine