Changeset 141717 in webkit


Ignore:
Timestamp:
Feb 3, 2013 10:35:51 AM (11 years ago)
Author:
mkwst@chromium.org
Message:

Cleanup: 'ExceptionCode& ec', not 'ExceptionCode &ec'.
https://bugs.webkit.org/show_bug.cgi?id=108769

Reviewed by Eric Seidel.

Does what it says on the tin: reference parameters should read
'type& name', and this patch fixes the two occurances of 'type &name'
that cropped up for ExceptionCode.

Pure style change; no effect on behavior.

  • html/HTMLOptionsCollection.cpp:

(WebCore::HTMLOptionsCollection::add):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r141706 r141717  
     12013-02-03  Mike West  <mkwst@chromium.org>
     2
     3        Cleanup: 'ExceptionCode& ec', not 'ExceptionCode &ec'.
     4        https://bugs.webkit.org/show_bug.cgi?id=108769
     5
     6        Reviewed by Eric Seidel.
     7
     8        Does what it says on the tin: reference parameters should read
     9        'type& name', and this patch fixes the two occurances of 'type &name'
     10        that cropped up for ExceptionCode.
     11
     12        Pure style change; no effect on behavior.
     13
     14        * html/HTMLOptionsCollection.cpp:
     15        (WebCore::HTMLOptionsCollection::add):
     16
    1172013-02-02  Jun Jiang  <jun.a.jiang@intel.com>
    218
  • trunk/Source/WebCore/html/HTMLOptionsCollection.cpp

    r136850 r141717  
    3939}
    4040
    41 void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, ExceptionCode &ec)
     41void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, ExceptionCode& ec)
    4242{
    4343    add(element, length(), ec);
    4444}
    4545
    46 void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, int index, ExceptionCode &ec)
     46void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, int index, ExceptionCode& ec)
    4747{
    4848    HTMLOptionElement* newOption = element.get();
Note: See TracChangeset for help on using the changeset viewer.