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

Unified Diff: include/v8-profiler.h

Issue 1073903002: Fix C++ violation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: lolmsvc Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8-profiler.h
diff --git a/include/v8-profiler.h b/include/v8-profiler.h
index 4d8dc22fb2047e686a18f9d18cce1e86476198a2..82a14d66003001c6b3ee8afcc7807fed1ecb76dc 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -24,11 +24,13 @@ struct CpuProfileDeoptFrame {
size_t position;
};
+} // namespace v8
#ifdef V8_OS_WIN
-template class V8_EXPORT std::vector<CpuProfileDeoptFrame>;
+template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
#endif
+namespace v8 {
struct V8_EXPORT CpuProfileDeoptInfo {
/** A pointer to a static string owned by v8. */
@@ -36,11 +38,13 @@ struct V8_EXPORT CpuProfileDeoptInfo {
std::vector<CpuProfileDeoptFrame> stack;
};
+} // namespace v8
#ifdef V8_OS_WIN
-template class V8_EXPORT std::vector<CpuProfileDeoptInfo>;
+template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
#endif
+namespace v8 {
/**
* CpuProfileNode represents a node in a call graph.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698