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

Unified Diff: content/renderer/renderer_main_platform_delegate_android.cc

Issue 666023003: update the vtune support code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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 | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main_platform_delegate_android.cc
diff --git a/content/renderer/renderer_main_platform_delegate_android.cc b/content/renderer/renderer_main_platform_delegate_android.cc
index ab006bea1df2978e2ae7a32a88767a84735e8cea..732a9ab08f9c731170bf94e1ae28ec3124911259 100644
--- a/content/renderer/renderer_main_platform_delegate_android.cc
+++ b/content/renderer/renderer_main_platform_delegate_android.cc
@@ -13,10 +13,6 @@
#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
#endif
-#ifdef ENABLE_VTUNE_JIT_INTERFACE
-#include "v8/src/third_party/vtune/v8-vtune.h"
-#endif
-
namespace content {
RendererMainPlatformDelegate::RendererMainPlatformDelegate(
@@ -28,11 +24,6 @@ RendererMainPlatformDelegate::~RendererMainPlatformDelegate() {
}
void RendererMainPlatformDelegate::PlatformInitialize() {
-#ifdef ENABLE_VTUNE_JIT_INTERFACE
- const CommandLine& command_line = parameters_.command_line;
- if (command_line.HasSwitch(switches::kEnableVtune))
- vTune::InitializeVtuneForV8();
-#endif
}
void RendererMainPlatformDelegate::PlatformUninitialize() {
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698