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

Unified Diff: test/cctest/test-profile-generator.cc

Issue 12729023: first step to remove unsafe handles (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 1 month rebase Created 7 years, 8 months 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
Index: test/cctest/test-profile-generator.cc
diff --git a/test/cctest/test-profile-generator.cc b/test/cctest/test-profile-generator.cc
index 56b1788a85132140bfeb0d7bea36479f0f0deb36..1943c1d654e267f5c26036ff4a3e9238afc1aab8 100644
--- a/test/cctest/test-profile-generator.cc
+++ b/test/cctest/test-profile-generator.cc
@@ -27,6 +27,9 @@
//
// Tests of profiles generator and utilities.
+// TODO(dcarney): remove
+#define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT
+
#include "v8.h"
#include "profile-generator-inl.h"
#include "cctest.h"
@@ -876,7 +879,7 @@ TEST(RecordStackTraceAtStartProfiling) {
env = v8::Context::New(&config);
}
v8::HandleScope scope(v8::Isolate::GetCurrent());
- env->Enter();
+ (*env)->Enter();
Sven Panne 2013/04/30 07:31:22 I am a bit confused: Why is this change necessary?
dcarney 2013/04/30 07:43:21 * and -> must die!
CpuProfiler* profiler = i::Isolate::Current()->cpu_profiler();
CHECK_EQ(0, profiler->GetProfilesCount());

Powered by Google App Engine
This is Rietveld 408576698