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

Unified Diff: test/unittests/api/isolate-unittest.cc

Issue 2690303009: Remove a few unnecssary scopers from unit tests. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | test/unittests/api/v8-object-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/api/isolate-unittest.cc
diff --git a/test/unittests/api/isolate-unittest.cc b/test/unittests/api/isolate-unittest.cc
index ac1bca349e8e615f041f0a45619b6925b3a62843..5a7c8e0ceff861ffd2390b8685f12f3462f3914b 100644
--- a/test/unittests/api/isolate-unittest.cc
+++ b/test/unittests/api/isolate-unittest.cc
@@ -44,8 +44,6 @@ class MemoryPressureTask : public v8::Task {
// Check that triggering a memory pressure notification on the isolate thread
// doesn't request a GC interrupt.
TEST_F(IsolateTest, MemoryPressureNotificationForeground) {
- Isolate::Scope isolate_scope(isolate());
-
internal::Isolate* i_isolate =
reinterpret_cast<internal::Isolate*>(isolate());
@@ -57,8 +55,6 @@ TEST_F(IsolateTest, MemoryPressureNotificationForeground) {
// Check that triggering a memory pressure notification on an background thread
// requests a GC interrupt.
TEST_F(IsolateTest, MemoryPressureNotificationBackground) {
- Isolate::Scope isolate_scope(isolate());
-
internal::Isolate* i_isolate =
reinterpret_cast<internal::Isolate*>(isolate());
« no previous file with comments | « no previous file | test/unittests/api/v8-object-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698