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

Unified Diff: ppapi/cpp/private/instance_private.cc

Issue 7362012: Remove untrusted scripting support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 5 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 | « ppapi/cpp/private/instance_private.h ('k') | ppapi/cpp/var.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/instance_private.cc
diff --git a/ppapi/cpp/private/instance_private.cc b/ppapi/cpp/private/instance_private.cc
index 9bf81355975bcbd67303d31690f40e447335f81e..ad6e1a22e8ba5c54fcbc24bf61f5a276a5270f61 100644
--- a/ppapi/cpp/private/instance_private.cc
+++ b/ppapi/cpp/private/instance_private.cc
@@ -43,11 +43,9 @@ InstancePrivate::InstancePrivate(PP_Instance instance) : Instance(instance) {
InstancePrivate::~InstancePrivate() {}
-#ifdef PPAPI_INSTANCE_REMOVE_SCRIPTING
Var InstancePrivate::GetInstanceObject() {
return Var();
}
-#endif
VarPrivate InstancePrivate::GetWindowObject() {
if (!has_interface<PPB_Instance_Private>())
« no previous file with comments | « ppapi/cpp/private/instance_private.h ('k') | ppapi/cpp/var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698