Changeset 207680 in webkit


Ignore:
Timestamp:
Oct 21, 2016 10:08:19 AM (8 years ago)
Author:
Wenson Hsieh
Message:

Fix minor style issue in the signature of StaticRange::create
https://bugs.webkit.org/show_bug.cgi?id=163786
<rdar://problem/28853079>

Reviewed by Alex Christensen.

Change Ref<WebCore::Node> && to Ref<Node>&&.

  • dom/StaticRange.cpp:

(WebCore::StaticRange::create):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r207679 r207680  
     12016-10-21  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Fix minor style issue in the signature of StaticRange::create
     4        https://bugs.webkit.org/show_bug.cgi?id=163786
     5        <rdar://problem/28853079>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Change `Ref<WebCore::Node> &&` to `Ref<Node>&&`.
     10
     11        * dom/StaticRange.cpp:
     12        (WebCore::StaticRange::create):
     13
    1142016-10-21  Dave Hyatt  <hyatt@apple.com>
    215
  • trunk/Source/WebCore/dom/StaticRange.cpp

    r207670 r207680  
    4040}
    4141
    42 Ref<StaticRange> StaticRange::create(Ref<WebCore::Node> &&startContainer, unsigned startOffset, Ref<WebCore::Node> &&endContainer, unsigned endOffset)
     42Ref<StaticRange> StaticRange::create(Ref<Node>&& startContainer, unsigned startOffset, Ref<Node>&& endContainer, unsigned endOffset)
    4343{
    4444    return adoptRef(*new StaticRange(WTFMove(startContainer), startOffset, WTFMove(endContainer), endOffset));
Note: See TracChangeset for help on using the changeset viewer.