Title: [149140] trunk/Source
Revision
149140
Author
akl...@apple.com
Date
2013-04-25 13:37:50 -0700 (Thu, 25 Apr 2013)

Log Message

Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.

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:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (149139 => 149140)


--- trunk/Source/WTF/ChangeLog	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WTF/ChangeLog	2013-04-25 20:37:50 UTC (rev 149140)
@@ -1,3 +1,11 @@
+2013-04-25  Andreas Kling  <akl...@apple.com>
+
+        Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
+
+        Rubber-stamped by Anders Koivisto.
+
+        * wtf/FeatureDefines.h:
+
 2013-04-25  pe...@outlook.com  <pe...@outlook.com>
 
         [Windows] Compile fix.

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (149139 => 149140)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2013-04-25 20:37:50 UTC (rev 149140)
@@ -679,10 +679,6 @@
 #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

Modified: trunk/Source/WebCore/ChangeLog (149139 => 149140)


--- trunk/Source/WebCore/ChangeLog	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WebCore/ChangeLog	2013-04-25 20:37:50 UTC (rev 149140)
@@ -1,3 +1,14 @@
+2013-04-25  Andreas Kling  <akl...@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  <par...@webkit.org>
 
         Remove OS(WINCE) from AccessibilityObject.h

Modified: trunk/Source/WebCore/html/HTMLLinkElement.cpp (149139 => 149140)


--- trunk/Source/WebCore/html/HTMLLinkElement.cpp	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WebCore/html/HTMLLinkElement.cpp	2013-04-25 20:37:50 UTC (rev 149140)
@@ -300,7 +300,6 @@
 
     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 @@
         notifyLoadedSheetAndAllCriticalSubresources(false);
         return;
     }
-#endif
 
     RefPtr<StyleSheetContents> styleSheet = StyleSheetContents::create(href, parserContext);
 
@@ -328,10 +326,8 @@
     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

Modified: trunk/Source/WebKit/ChangeLog (149139 => 149140)


--- trunk/Source/WebKit/ChangeLog	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WebKit/ChangeLog	2013-04-25 20:37:50 UTC (rev 149140)
@@ -1,3 +1,11 @@
+2013-04-25  Andreas Kling  <akl...@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  <par...@webkit.org>
 
         Remove OS(WINCE) from AccessibilityObject.h

Modified: trunk/Source/WebKit/blackberry/ChangeLog (149139 => 149140)


--- trunk/Source/WebKit/blackberry/ChangeLog	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2013-04-25 20:37:50 UTC (rev 149140)
@@ -1,3 +1,11 @@
+2013-04-25  Andreas Kling  <akl...@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  <sh...@blackberry.com>
 
         [BlackBerry] Make scroll position adjustment work with pages with fixed position elements.

Modified: trunk/Source/WebKit/blackberry/WebCoreSupport/AboutDataEnableFeatures.in (149139 => 149140)


--- trunk/Source/WebKit/blackberry/WebCoreSupport/AboutDataEnableFeatures.in	2013-04-25 20:26:56 UTC (rev 149139)
+++ trunk/Source/WebKit/blackberry/WebCoreSupport/AboutDataEnableFeatures.in	2013-04-25 20:37:50 UTC (rev 149140)
@@ -151,7 +151,6 @@
 PAGE_VISIBILITY_API
 PAN_SCROLLING
 PARALLEL_GC
-PARSED_STYLE_SHEET_CACHING
 PASSWORD_ECHO
 PDFKIT_PLUGIN
 PERFORMANCE_TIMELINE
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to