Index: content/renderer/devtools/v8_sampling_profiler_browsertest.cc |
diff --git a/content/renderer/devtools/v8_sampling_profiler_browsertest.cc b/content/renderer/devtools/v8_sampling_profiler_browsertest.cc |
index aacd305d03f42c02bf4b8bf9aa1f3f3eb475d37a..db3c8d5f7ae5bb9d933e3a4f345b272e1359b104 100644 |
--- a/content/renderer/devtools/v8_sampling_profiler_browsertest.cc |
+++ b/content/renderer/devtools/v8_sampling_profiler_browsertest.cc |
@@ -30,7 +30,7 @@ class V8SamplingProfilerTest : public RenderViewTest { |
RenderViewTest::TearDown(); |
} |
- void KickV8() { ExecuteJavaScript("1"); } |
+ void KickV8() { ExecuteJavaScriptForTests("1"); } |
void SyncFlush(TraceLog* trace_log) { |
base::WaitableEvent flush_complete_event(false, false); |