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

Unified Diff: src/heap.h

Issue 6788023: Per-isolate v8::Locker and v8::Unlocker (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code review feedback Created 9 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: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 7a1bed3560289912a1e7c22b2ad994348cbdffa5..41d950f9b1c25d9554bbb4386d69022d12f767a5 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1938,7 +1938,7 @@ class DescriptorLookupCache {
class DisallowAllocationFailure {
public:
- DisallowAllocationFailure() {
+ explicit DisallowAllocationFailure() {
Vitaly Repeshko 2011/04/21 21:15:27 nit: "explicit" not required and remove extra spac
old_state_ = HEAP->disallow_allocation_failure_;
HEAP->disallow_allocation_failure_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698