diff options
Diffstat (limited to 'Source/WebCore/page/DOMSelection.h')
| -rw-r--r-- | Source/WebCore/page/DOMSelection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/page/DOMSelection.h b/Source/WebCore/page/DOMSelection.h index 2fa1e87a9..1dda6abea 100644 --- a/Source/WebCore/page/DOMSelection.h +++ b/Source/WebCore/page/DOMSelection.h @@ -11,7 +11,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Apple Inc. ("Apple") nor the names of + * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -49,7 +49,7 @@ namespace WebCore { class DOMSelection : public RefCounted<DOMSelection>, public DOMWindowProperty { public: - static Ref<DOMSelection> create(const TreeScope* treeScope) { return adoptRef(*new DOMSelection(treeScope)); } + static PassRefPtr<DOMSelection> create(const TreeScope* treeScope) { return adoptRef(new DOMSelection(treeScope)); } void clearTreeScope(); |
