Changeset 157444 in webkit


Ignore:
Timestamp:
Oct 15, 2013 12:02:55 AM (11 years ago)
Author:
rniwa@webkit.org
Message:

Remove redundant Document::getElementById
https://bugs.webkit.org/show_bug.cgi?id=122813

Reviewed by Andreas Kling.

Merge https://chromium.googlesource.com/chromium/blink/+/4e8f1c5316415614b84370c602beae4a1008299f

This function simply calls virtual TreeScope::getElementById and Document inherits from TreeScope.

  • WebCore.exp.in:
  • dom/Document.cpp:
  • dom/Document.h:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r157443 r157444  
     12013-10-15  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Remove redundant Document::getElementById
     4        https://bugs.webkit.org/show_bug.cgi?id=122813
     5
     6        Reviewed by Andreas Kling.
     7
     8        Merge https://chromium.googlesource.com/chromium/blink/+/4e8f1c5316415614b84370c602beae4a1008299f
     9
     10        This function simply calls virtual TreeScope::getElementById and Document inherits from TreeScope.
     11
     12        * WebCore.exp.in:
     13        * dom/Document.cpp:
     14        * dom/Document.h:
     15
    1162013-10-14  Santosh Mahto  <santosh.ma@samsung.com>
    217
  • trunk/Source/WebCore/WebCore.exp.in

    r157419 r157444  
    16501650__ZNK7WebCore8Document11completeURLERKN3WTF6StringE
    16511651__ZNK7WebCore8Document13axObjectCacheEv
    1652 __ZNK7WebCore8Document14getElementByIdERKN3WTF12AtomicStringE
    16531652__ZNK7WebCore8Document31displayStringModifiedByEncodingERKN3WTF6StringE
    16541653__ZNK7WebCore8Document4bodyEv
     
    17101709__ZNK7WebCore9RenderBox11clientWidthEv
    17111710__ZNK7WebCore9RenderBox12clientHeightEv
     1711__ZNK7WebCore9TreeScope14getElementByIdERKN3WTF12AtomicStringE
    17121712__ZTVN7WebCore12ChromeClientE
    17131713__ZTVN7WebCore14LoaderStrategyE
  • trunk/Source/WebCore/dom/Document.cpp

    r157405 r157444  
    657657}
    658658
    659 Element* Document::getElementById(const AtomicString& id) const
    660 {
    661     return TreeScope::getElementById(id);
    662 }
    663 
    664659Element* Document::getElementByAccessKey(const String& key)
    665660{
  • trunk/Source/WebCore/dom/Document.h

    r157405 r157444  
    250250    using ContainerNode::deref;
    251251
    252     Element* getElementById(const AtomicString& id) const;
    253 
    254252    virtual bool canContainRangeEndPoint() const OVERRIDE { return true; }
    255253
Note: See TracChangeset for help on using the changeset viewer.