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,
mcontext_t& mcontext = ucontext->uc_mcontext;
v8::RegisterState state;
#if defined(OS_ANDROID)
// TODO(alph): Add support for Android
#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
// TODO(alph): Add support for Android and ChromeOS
ALLOW_UNUSED_LOCAL(mcontext);
#elif defined(OS_MACOSX)
......
......@@ -118,11 +118,11 @@ class V8SamplingProfilerTest : public RenderViewTest {
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
// 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
#else
#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