Commit c530d308 authored by alph's avatar alph Committed by Commit bot

Fix ChromeOS compilation after r321565

TBR=yurys,smckay
NOTRY=true

Review URL: https://codereview.chromium.org/1022153002

Cr-Commit-Position: refs/heads/master@{#321584}
parent 9c337fc9
...@@ -445,8 +445,8 @@ void V8SamplingThread::HandleProfilerSignal(int signal, ...@@ -445,8 +445,8 @@ void V8SamplingThread::HandleProfilerSignal(int signal,
mcontext_t& mcontext = ucontext->uc_mcontext; mcontext_t& mcontext = ucontext->uc_mcontext;
v8::RegisterState state; v8::RegisterState state;
#if defined(OS_ANDROID) #if defined(OS_ANDROID) || defined(OS_CHROMEOS)
// TODO(alph): Add support for Android // TODO(alph): Add support for Android and ChromeOS
ALLOW_UNUSED_LOCAL(mcontext); ALLOW_UNUSED_LOCAL(mcontext);
#elif defined(OS_MACOSX) #elif defined(OS_MACOSX)
......
...@@ -118,11 +118,11 @@ class V8SamplingProfilerTest : public RenderViewTest { ...@@ -118,11 +118,11 @@ class V8SamplingProfilerTest : public RenderViewTest {
TraceResultBuffer::SimpleOutput json_output_; TraceResultBuffer::SimpleOutput json_output_;
}; };
// TODO(alph): Implement on Windows and Android // TODO(alph): Implement on Windows, Android and ChromeOS.
// The SamplingEventForTesting is fired when the framework collected at // The SamplingEventForTesting is fired when the framework collected at
// least one JitCodeAdded event and one sample event. // least one JitCodeAdded event and one sample event.
#if defined(OS_WIN) || defined(OS_ANDROID) #if defined(OS_WIN) || defined(OS_ANDROID) || defined(OS_CHROMEOS)
#define MAYBE(x) DISABLED_##x #define MAYBE(x) DISABLED_##x
#else #else
#define MAYBE(x) x #define MAYBE(x) x
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment