Fix comment. Followup for bug 834877. DONTBUILD
authorBoris Zbarsky <bzbarsky@mit.edu>
Tue, 29 Jan 2013 10:31:34 -0500
changeset 120226 361b83661de106d98713f34293497db2d46f86f9
parent 120225 c669c3af96d4c4ebd7b6c546cb33253abd62921b
child 120227 e9a03227ae72cd10416eb2f81428aff4feee5d37
push id24243
push userryanvm@gmail.com
push dateWed, 30 Jan 2013 00:49:21 +0000
treeherdermozilla-central@5c248ef0fe62 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs834877
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix comment. Followup for bug 834877. DONTBUILD
dom/bindings/BindingDeclarations.h
--- a/dom/bindings/BindingDeclarations.h
+++ b/dom/bindings/BindingDeclarations.h
@@ -87,21 +87,21 @@ private:
 
 /**
  * A class for representing string return values.  This can be either passed to
  * callees that have an nsString or nsAString out param or passed to a callee
  * that actually knows about this class and can work with it.  Such a callee may
  * call SetStringBuffer on this object, but only if it plans to keep holding a
  * strong ref to the stringbuffer!
  *
- * The proper way to store a value in this class is to either to nothing (which
- * leaves this as an empty string), to call SetStringBuffer with a non-null
- * stringbuffer, to call SetNull(), or to call AsAString() and set the value in
- * the resulting nsString.  These options are mutually exclusive!  Don't do more
- * than one of them.
+ * The proper way to store a value in this class is to either to do nothing
+ * (which leaves this as an empty string), to call SetStringBuffer with a
+ * non-null stringbuffer, to call SetNull(), or to call AsAString() and set the
+ * value in the resulting nsString.  These options are mutually exclusive!
+ * Don't do more than one of them.
  *
  * The proper way to extract a value is to check IsNull().  If not null, then
  * check HasStringBuffer().  If that's true, check for a zero length, and if the
  * length is nonzero call StringBuffer().  If the length is zero this is the
  * empty string.  If HasStringBuffer() returns false, call AsAString() and get
  * the value from that.
  */
 class NS_STACK_CLASS DOMString {