Changeset 101263 in webkit


Ignore:
Timestamp:
Nov 28, 2011, 7:59:41 AM (14 years ago)
Author:
andreas.kling@nokia.com
Message:

InspectorCSSAgent: Remove unused function inlineStyleElement().
<http://webkit.org/b/73221>

Reviewed by Pavel Feldman.

  • inspector/InspectorCSSAgent.cpp:
  • inspector/InspectorCSSAgent.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r101262 r101263  
     12011-11-28  Andreas Kling  <kling@webkit.org>
     2
     3        InspectorCSSAgent: Remove unused function inlineStyleElement().
     4        <http://webkit.org/b/73221>
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/InspectorCSSAgent.cpp:
     9        * inspector/InspectorCSSAgent.h:
     10
    1112011-11-28  Simon Hausmann  <simon.hausmann@nokia.com>
    212
  • trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp

    r101257 r101263  
    440440}
    441441
    442 // static
    443 Element* InspectorCSSAgent::inlineStyleElement(CSSStyleDeclaration* style)
    444 {
    445     if (!style || !style->isInlineStyleDeclaration())
    446         return 0;
    447     return static_cast<CSSInlineStyleDeclaration*>(style)->element();
    448 }
    449 
    450442InspectorStyleSheetForInlineStyle* InspectorCSSAgent::asInspectorStyleSheet(Element* element)
    451443{
  • trunk/Source/WebCore/inspector/InspectorCSSAgent.h

    r101257 r101263  
    8787    typedef HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > DocumentToViaInspectorStyleSheet; // "via inspector" stylesheets
    8888
    89     static Element* inlineStyleElement(CSSStyleDeclaration*);
    90 
    9189    void recalcStyleForPseudoStateIfNeeded(Element*, InspectorArray* forcedPseudoClasses);
    9290    InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element);
Note: See TracChangeset for help on using the changeset viewer.