Changeset 103401 in webkit
- Timestamp:
- Dec 21, 2011 2:20:36 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r103400 r103401 1 2011-12-21 Renata Hodovan <reni@webkit.org> 2 3 Fulfill FIXME in HTMLLinkElement.h. 4 https://bugs.webkit.org/show_bug.cgi?id=74278 5 6 Rename isStyleSheetLoading() method to styleSheetIsLoading(). 7 This new one has the correct grammar. 8 9 Reviewed by Darin Adler. 10 11 No new tests because the functionality remains the same. 12 13 * dom/Document.cpp: 14 (WebCore::Document::recalcStyleSelector): 15 * html/HTMLLinkElement.cpp: 16 (WebCore::HTMLLinkElement::setDisabledState): 17 (WebCore::HTMLLinkElement::styleSheetIsLoading): 18 (WebCore::HTMLLinkElement::sheetLoaded): 19 * html/HTMLLinkElement.h: 20 1 21 2011-12-21 Yosifumi Inoue <yosin@chromium.org> 2 22 -
trunk/Source/WebCore/dom/Document.cpp
r103296 r103401 3097 3097 continue; 3098 3098 enabledViaScript = linkElement->isEnabledViaScript(); 3099 if (linkElement-> isStyleSheetLoading()) {3099 if (linkElement->styleSheetIsLoading()) { 3100 3100 // it is loading but we should still decide which style sheet set to use 3101 3101 if (!enabledViaScript && !title.isEmpty() && m_preferredStylesheetSet.isEmpty()) { -
trunk/Source/WebCore/html/HTMLLinkElement.cpp
r102580 r103401 91 91 // If we change the disabled state while the sheet is still loading, then we have to 92 92 // perform three checks: 93 if ( isStyleSheetLoading()) {93 if (styleSheetIsLoading()) { 94 94 // Check #1: The sheet becomes disabled while loading. 95 95 if (m_disabledState == Disabled) … … 334 334 } 335 335 336 bool HTMLLinkElement:: isStyleSheetLoading() const336 bool HTMLLinkElement::styleSheetIsLoading() const 337 337 { 338 338 if (m_loading) … … 355 355 bool HTMLLinkElement::sheetLoaded() 356 356 { 357 if (! isStyleSheetLoading()) {357 if (!styleSheetIsLoading()) { 358 358 removePendingSheet(); 359 359 return true; -
trunk/Source/WebCore/html/HTMLLinkElement.h
r102580 r103401 54 54 CSSStyleSheet* sheet() const { return m_sheet.get(); } 55 55 56 bool isStyleSheetLoading() const;56 bool styleSheetIsLoading() const; 57 57 58 58 bool isDisabled() const { return m_disabledState == Disabled; }
Note: See TracChangeset
for help on using the changeset viewer.