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

Unified Diff: content/renderer/renderer_main_platform_delegate_win.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/renderer_main_platform_delegate_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main_platform_delegate_win.cc
diff --git a/content/renderer/renderer_main_platform_delegate_win.cc b/content/renderer/renderer_main_platform_delegate_win.cc
index 952d00d3df7011c41b9cb40f76e651b00e7de26d..5541e6127b1e3765e14eb8356b24a591cb9b84aa 100644
--- a/content/renderer/renderer_main_platform_delegate_win.cc
+++ b/content/renderer/renderer_main_platform_delegate_win.cc
@@ -27,10 +27,6 @@
#include "ui/gfx/win/direct_write.h"
#include "ui/gfx/win/dpi.h"
-#ifdef ENABLE_VTUNE_JIT_INTERFACE
-#include "v8/src/third_party/vtune/v8-vtune.h"
-#endif
-
#include <dwrite.h>
namespace content {
@@ -79,11 +75,6 @@ RendererMainPlatformDelegate::~RendererMainPlatformDelegate() {
void RendererMainPlatformDelegate::PlatformInitialize() {
const CommandLine& command_line = parameters_.command_line;
-#ifdef ENABLE_VTUNE_JIT_INTERFACE
- if (command_line.HasSwitch(switches::kEnableVtune))
- vTune::InitializeVtuneForV8();
-#endif
-
// Be mindful of what resources you acquire here. They can be used by
// malicious code if the renderer gets compromised.
bool no_sandbox = command_line.HasSwitch(switches::kNoSandbox);
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698