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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 12398007: Replaced deprecated v8 API calls by their non-deprecated counterparts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 14ea94980377ea2fb35fd82578198be17797745c..38740ed0f8705f9a37cf5cc92b0796a2ac59a4b9 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -288,7 +288,8 @@ class CONTENT_EXPORT BrowserPlugin :
// object goes out of scope in JavaScript.
void OnRequestObjectGarbageCollected(int request_id);
// V8 garbage collection callback for |object|.
- static void WeakCallbackForPersistObject(v8::Persistent<v8::Value> object,
+ static void WeakCallbackForPersistObject(v8::Isolate* isolate,
+ v8::Persistent<v8::Value> object,
void* param);
// IPC message handlers.
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698