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

Unified Diff: include/v8.h

Issue 2220993003: [api] Templatize do_callback parameter in CallDepthScope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: formatting Created 4 years, 4 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 | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 3fc062a38b1cd2c7da53713662da4ea6b3dc4d42..69bf17c33e5c901609e76e4af509c970cac5aab5 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -957,7 +957,7 @@ class V8_EXPORT SealHandleScope {
void* operator new(size_t size);
void operator delete(void*, size_t);
- internal::Isolate* isolate_;
+ internal::Isolate* const isolate_;
internal::Object** prev_limit_;
int prev_sealed_level_;
};
@@ -5694,7 +5694,7 @@ class V8_EXPORT Isolate {
~SuppressMicrotaskExecutionScope();
private:
- internal::Isolate* isolate_;
+ internal::Isolate* const isolate_;
// Prevent copying of Scope objects.
SuppressMicrotaskExecutionScope(const SuppressMicrotaskExecutionScope&);
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698