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

Unified Diff: chrome/renderer/extensions/scoped_persistent.h

Issue 14746011: Use Persistent::Reset. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased & more Created 7 years, 7 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 | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/scoped_persistent.h
diff --git a/chrome/renderer/extensions/scoped_persistent.h b/chrome/renderer/extensions/scoped_persistent.h
index 1f033d3d168d8f8a86919d242e9a6b330c2231ba..c642f51c88e4acebe1def99107f2affabfb4b30d 100644
--- a/chrome/renderer/extensions/scoped_persistent.h
+++ b/chrome/renderer/extensions/scoped_persistent.h
@@ -28,7 +28,7 @@ class ScopedPersistent {
void reset(v8::Handle<T> handle) {
reset();
jochen (gone - plz use gerrit) 2013/05/13 14:07:40 this call is not needed anymore, right?
marja 2013/05/13 14:16:04 Done.
- handle_ = v8::Persistent<T>::New(GetIsolate(handle), handle);
+ handle_.Reset(GetIsolate(handle), handle);
}
void reset() {
« no previous file with comments | « no previous file | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698