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

Unified Diff: extensions/renderer/safe_builtins.cc

Issue 1905783002: [Extensions] Clean up comments in safe_builtins.h/cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « extensions/renderer/safe_builtins.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/safe_builtins.cc
diff --git a/extensions/renderer/safe_builtins.cc b/extensions/renderer/safe_builtins.cc
index b3e4f8425c0cebc72c47a8a4dc54e647715f33d8..8d549250b52af3c595e4fc99addfc2da795ecde1 100644
--- a/extensions/renderer/safe_builtins.cc
+++ b/extensions/renderer/safe_builtins.cc
@@ -21,14 +21,14 @@ const char kClassName[] = "extensions::SafeBuiltins";
// Documentation for makeCallback in the JavaScript, out here to reduce the
// (very small) amount of effort that the v8 parser needs to do:
//
-// Returns a new object with every function on |obj| configured to call()\n"
-// itself with the given arguments.\n"
-// E.g. given\n"
-// var result = makeCallable(Function.prototype)\n"
-// |result| will be a object including 'bind' such that\n"
-// result.bind(foo, 1, 2, 3);\n"
-// is equivalent to Function.prototype.bind.call(foo, 1, 2, 3), and so on.\n"
-// This is a convenient way to save functions that user scripts may clobber.\n"
+// Returns a new object with every function on |obj| configured to call()
+// itself with the given arguments.
+// E.g. given
+// var result = makeCallable(Function.prototype)
+// |result| will be a object including 'bind' such that
+// result.bind(foo, 1, 2, 3);
+// is equivalent to Function.prototype.bind.call(foo, 1, 2, 3), and so on.
+// This is a convenient way to save functions that user scripts may clobber.
const char kScript[] =
"(function() {\n"
"'use strict';\n"
« no previous file with comments | « extensions/renderer/safe_builtins.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698