Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Apr 2013 20:37:50 +0000 (20:37 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Apr 2013 20:37:50 +0000 (20:37 +0000)
Rubber-stamped by Anders Koivisto.

Source/WebCore:

* PlatformWinCE.cmake:
* accessibility/AccessibilityObject.h:
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::setCSSStyleSheet):

Source/WebKit:

* PlatformWinCE.cmake:

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataEnableFeatures.in:

Source/WTF:

* wtf/FeatureDefines.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@149140 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLLinkElement.cpp
Source/WebKit/ChangeLog
Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebCoreSupport/AboutDataEnableFeatures.in

index 881f6ca..f573d86 100644 (file)
@@ -1,3 +1,11 @@
+2013-04-25  Andreas Kling  <akling@apple.com>
+
+        Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
+
+        Rubber-stamped by Anders Koivisto.
+
+        * wtf/FeatureDefines.h:
+
 2013-04-25  peavo@outlook.com  <peavo@outlook.com>
 
         [Windows] Compile fix.
index 7a29eae..6f1089d 100644 (file)
 #endif
 #endif
 
-#if !defined(ENABLE_PARSED_STYLE_SHEET_CACHING)
-#define ENABLE_PARSED_STYLE_SHEET_CACHING 1
-#endif
-
 #if !defined(ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH)
 #define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH 0
 #endif
index d794286..950ddff 100644 (file)
@@ -1,3 +1,14 @@
+2013-04-25  Andreas Kling  <akling@apple.com>
+
+        Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
+
+        Rubber-stamped by Anders Koivisto.
+
+        * PlatformWinCE.cmake:
+        * accessibility/AccessibilityObject.h:
+        * html/HTMLLinkElement.cpp:
+        (WebCore::HTMLLinkElement::setCSSStyleSheet):
+
 2013-04-25  Patrick Gansterer  <paroga@webkit.org>
 
         Remove OS(WINCE) from AccessibilityObject.h
index 6dfdfee..9fde7ec 100644 (file)
@@ -300,7 +300,6 @@ void HTMLLinkElement::setCSSStyleSheet(const String& href, const KURL& baseURL,
 
     CSSParserContext parserContext(document(), baseURL, charset);
 
-#if ENABLE(PARSED_STYLE_SHEET_CACHING)
     if (RefPtr<StyleSheetContents> restoredSheet = const_cast<CachedCSSStyleSheet*>(cachedStyleSheet)->restoreParsedStyleSheet(parserContext)) {
         ASSERT(restoredSheet->isCacheable());
         ASSERT(!restoredSheet->isLoading());
@@ -314,7 +313,6 @@ void HTMLLinkElement::setCSSStyleSheet(const String& href, const KURL& baseURL,
         notifyLoadedSheetAndAllCriticalSubresources(false);
         return;
     }
-#endif
 
     RefPtr<StyleSheetContents> styleSheet = StyleSheetContents::create(href, parserContext);
 
@@ -328,10 +326,8 @@ void HTMLLinkElement::setCSSStyleSheet(const String& href, const KURL& baseURL,
     styleSheet->notifyLoadedSheet(cachedStyleSheet);
     styleSheet->checkLoaded();
 
-#if ENABLE(PARSED_STYLE_SHEET_CACHING)
     if (styleSheet->isCacheable())
         const_cast<CachedCSSStyleSheet*>(cachedStyleSheet)->saveParsedStyleSheet(styleSheet);
-#endif
 }
 
 bool HTMLLinkElement::styleSheetIsLoading() const
index 421d344..3c2795e 100644 (file)
@@ -1,3 +1,11 @@
+2013-04-25  Andreas Kling  <akling@apple.com>
+
+        Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
+
+        Rubber-stamped by Anders Koivisto.
+
+        * PlatformWinCE.cmake:
+
 2013-04-25  Patrick Gansterer  <paroga@webkit.org>
 
         Remove OS(WINCE) from AccessibilityObject.h
index a3c2a23..30371d8 100644 (file)
@@ -1,3 +1,11 @@
+2013-04-25  Andreas Kling  <akling@apple.com>
+
+        Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
+
+        Rubber-stamped by Anders Koivisto.
+
+        * WebCoreSupport/AboutDataEnableFeatures.in:
+
 2013-04-25  Iris Wu  <shuwu@blackberry.com>
 
         [BlackBerry] Make scroll position adjustment work with pages with fixed position elements.
index 87123a9..094ce4b 100644 (file)
@@ -151,7 +151,6 @@ PAGE_POPUP
 PAGE_VISIBILITY_API
 PAN_SCROLLING
 PARALLEL_GC
-PARSED_STYLE_SHEET_CACHING
 PASSWORD_ECHO
 PDFKIT_PLUGIN
 PERFORMANCE_TIMELINE