summaryrefslogtreecommitdiffstats
path: root/webkit/glue/cpp_bound_class.h
diff options
context:
space:
mode:
authorsteveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 18:07:59 +0000
committersteveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 18:07:59 +0000
commitbfbdf2b0383f17a075947cc1d9d7b51a9b925e59 (patch)
tree400387a8cf7fa74a47ef3a2db286649f348f06c4 /webkit/glue/cpp_bound_class.h
parentdad4c02d282493f3d7437e796b9aaaf317cb91a7 (diff)
downloadchromium_src-bfbdf2b0383f17a075947cc1d9d7b51a9b925e59.zip
chromium_src-bfbdf2b0383f17a075947cc1d9d7b51a9b925e59.tar.gz
chromium_src-bfbdf2b0383f17a075947cc1d9d7b51a9b925e59.tar.bz2
Clean up comment for CppBoundClass.BindToJavascript()
The comment mentions CppBoundObject, which doesn't exist. It seems to be a typo from the initial commit. BUG= TEST= Review URL: http://codereview.chromium.org/7677014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/cpp_bound_class.h')
-rw-r--r--webkit/glue/cpp_bound_class.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/glue/cpp_bound_class.h b/webkit/glue/cpp_bound_class.h
index 796f5c2..1f67e05 100644
--- a/webkit/glue/cpp_bound_class.h
+++ b/webkit/glue/cpp_bound_class.h
@@ -59,12 +59,12 @@ class CppBoundClass {
CppVariant* GetAsCppVariant();
// Given a WebFrame, BindToJavascript builds the NPObject that will represent
- // the class and binds it to the frame's window under the given name. This
- // should generally be called from the WebView delegate's
- // WindowObjectCleared(). A class so bound will be accessible to JavaScript
- // as window.<classname>. The owner of the CppBoundObject is responsible for
- // keeping the object around while the frame is alive, and for destroying it
- // afterwards.
+ // this CppBoundClass object and binds it to the frame's window under the
+ // given name. This should generally be called from the WebView delegate's
+ // WindowObjectCleared(). This CppBoundClass object will be accessible to
+ // JavaScript as window.<classname>. The owner of this CppBoundClass object is
+ // responsible for keeping it around while the frame is alive, and for
+ // destroying it afterwards.
void BindToJavascript(WebKit::WebFrame* frame, const std::string& classname);
// The type of callbacks.