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

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

Issue 98543004: Remove usage of deprecated V8 APIs from c/r/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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 | « chrome/renderer/extensions/set_icon_natives.cc ('k') | chrome/renderer/extensions/v8_schema_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/unsafe_persistent.h
diff --git a/chrome/renderer/extensions/unsafe_persistent.h b/chrome/renderer/extensions/unsafe_persistent.h
index 35704a863f590a8d1b8335a858e52a6427504813..f8fa9bbd42acfa9a57eb531dbb17c4b37ce49c38 100644
--- a/chrome/renderer/extensions/unsafe_persistent.h
+++ b/chrome/renderer/extensions/unsafe_persistent.h
@@ -31,7 +31,7 @@ template<typename T> class UnsafePersistent {
// V8_ALLOW_ACCESS_TO_RAW_HANDLE_CONSTRUCTOR to be defined
void dispose() {
v8::Persistent<T> handle(value_);
- handle.Dispose();
+ handle.Reset();
value_ = 0;
}
« no previous file with comments | « chrome/renderer/extensions/set_icon_natives.cc ('k') | chrome/renderer/extensions/v8_schema_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698