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

Unified Diff: include/v8.h

Issue 17580010: Make a Persistent ctor take const Persistent& instead of Persistent&. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | no next file » | 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 ccb2a185a2eda1b7014175e63cf860b41159c353..2d21355d6008851421256b534211c7cb543ea1df 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -509,7 +509,7 @@ template <class T> class Persistent // NOLINT
: val_(New(isolate, *that)) { }
template <class S> V8_INLINE(Persistent(Isolate* isolate,
- Persistent<S>& that)) // NOLINT
+ const Persistent<S>& that)) // NOLINT
: val_(New(isolate, *that)) { }
#else
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698