OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 return ruleSourceData; | 1765 return ruleSourceData; |
1766 } | 1766 } |
1767 | 1767 |
1768 CSSStyleDeclaration* InspectorStyleSheetForInlineStyle::inlineStyle() | 1768 CSSStyleDeclaration* InspectorStyleSheetForInlineStyle::inlineStyle() |
1769 { | 1769 { |
1770 return m_element->style(); | 1770 return m_element->style(); |
1771 } | 1771 } |
1772 | 1772 |
1773 const String& InspectorStyleSheetForInlineStyle::elementStyleText() | 1773 const String& InspectorStyleSheetForInlineStyle::elementStyleText() |
1774 { | 1774 { |
1775 return m_element->getAttribute("style").string(); | 1775 return m_element->getAttribute("style").getString(); |
1776 } | 1776 } |
1777 | 1777 |
1778 DEFINE_TRACE(InspectorStyleSheetForInlineStyle) | 1778 DEFINE_TRACE(InspectorStyleSheetForInlineStyle) |
1779 { | 1779 { |
1780 visitor->trace(m_element); | 1780 visitor->trace(m_element); |
1781 visitor->trace(m_inspectorStyle); | 1781 visitor->trace(m_inspectorStyle); |
1782 InspectorStyleSheetBase::trace(visitor); | 1782 InspectorStyleSheetBase::trace(visitor); |
1783 } | 1783 } |
1784 | 1784 |
1785 } // namespace blink | 1785 } // namespace blink |
OLD | NEW |