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

Unified Diff: content/renderer/pepper/pepper_try_catch.h

Issue 562763005: Hold a handle to the v8 context in PepperTryCatchVar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | content/renderer/pepper/pepper_try_catch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_try_catch.h
diff --git a/content/renderer/pepper/pepper_try_catch.h b/content/renderer/pepper/pepper_try_catch.h
index 459cb2c4c9c090071bccffd8f5f720b73a6e01ae..dba90aa780a8be427c47900f42ab5af304a4e9a3 100644
--- a/content/renderer/pepper/pepper_try_catch.h
+++ b/content/renderer/pepper/pepper_try_catch.h
@@ -83,6 +83,8 @@ class PepperTryCatchVar : public PepperTryCatch {
// make one for them. Note that this class is always allocated on the stack.
v8::HandleScope handle_scope_;
+ v8::Handle<v8::Context> context_;
+
v8::TryCatch try_catch_;
PP_Var* exception_;
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_try_catch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698