Changeset 201700 in webkit


Ignore:
Timestamp:
Jun 5, 2016 12:38:57 PM (8 years ago)
Author:
Konstantin Tokarev
Message:

Do not construct temporary copy of String from AtomicString.
https://bugs.webkit.org/show_bug.cgi?id=158400

Reviewed by Darin Adler.

No new tests needed.

  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::ariaReadOnlyValue):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r201697 r201700  
     12016-06-05  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        Do not construct temporary copy of String from AtomicString.
     4        https://bugs.webkit.org/show_bug.cgi?id=158400
     5
     6        Reviewed by Darin Adler.
     7
     8        No new tests needed.
     9
     10        * accessibility/AccessibilityObject.cpp:
     11        (WebCore::AccessibilityObject::ariaReadOnlyValue):
     12
    1132016-06-05  Andreas Kling  <akling@apple.com>
    214
  • trunk/Source/WebCore/accessibility/AccessibilityObject.cpp

    r200895 r201700  
    15901590        return ariaRoleAttribute() != UnknownRole && supportsARIAReadOnly() ? "false" : String();
    15911591
    1592     return String(getAttribute(aria_readonlyAttr)).convertToASCIILowercase();
     1592    return getAttribute(aria_readonlyAttr).string().convertToASCIILowercase();
    15931593}
    15941594
Note: See TracChangeset for help on using the changeset viewer.