Title: [206352] trunk/Source/WebKit/mac
- Revision
- 206352
- Author
- [email protected]
- Date
- 2016-09-24 06:10:39 -0700 (Sat, 24 Sep 2016)
Log Message
Move stylesheet change logic from Document to AuthorStyleSheets
https://bugs.webkit.org/show_bug.cgi?id=162488
Reviewed by Andreas Kling.
* WebView/WebHTMLView.mm:
(-[WebHTMLView reapplyStyles]):
(-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustViewSize:paginateScreenContent:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (206351 => 206352)
--- trunk/Source/WebKit/mac/ChangeLog 2016-09-24 12:28:48 UTC (rev 206351)
+++ trunk/Source/WebKit/mac/ChangeLog 2016-09-24 13:10:39 UTC (rev 206352)
@@ -1,3 +1,14 @@
+2016-09-24 Antti Koivisto <[email protected]>
+
+ Move stylesheet change logic from Document to AuthorStyleSheets
+ https://bugs.webkit.org/show_bug.cgi?id=162488
+
+ Reviewed by Andreas Kling.
+
+ * WebView/WebHTMLView.mm:
+ (-[WebHTMLView reapplyStyles]):
+ (-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustViewSize:paginateScreenContent:]):
+
2016-09-23 Caitlin Potter <[email protected]>
[JSC] Implement parsing of Async Functions
Modified: trunk/Source/WebKit/mac/WebView/WebHTMLView.mm (206351 => 206352)
--- trunk/Source/WebKit/mac/WebView/WebHTMLView.mm 2016-09-24 12:28:48 UTC (rev 206351)
+++ trunk/Source/WebKit/mac/WebView/WebHTMLView.mm 2016-09-24 13:10:39 UTC (rev 206352)
@@ -72,6 +72,7 @@
#import "WebTypesInternal.h"
#import "WebUIDelegatePrivate.h"
#import "WebViewInternal.h"
+#import <WebCore/AuthorStyleSheets.h>
#import <WebCore/CSSStyleDeclaration.h>
#import <WebCore/CachedImage.h>
#import <WebCore/CachedResourceClient.h>
@@ -3611,7 +3612,7 @@
#endif
if (Frame* coreFrame = core([self _frame]))
- coreFrame->document()->styleResolverChanged(RecalcStyleImmediately);
+ coreFrame->document()->authorStyleSheets().didChange(RecalcStyleImmediately);
#ifdef LOG_TIMES
double thisTime = CFAbsoluteTimeGetCurrent() - start;
@@ -5004,7 +5005,7 @@
document->setPaginatedForScreen(_private->paginateScreenContent);
document->setPrinting(_private->printing);
- document->styleResolverChanged(RecalcStyleImmediately);
+ document->authorStyleSheets().didChange(RecalcStyleImmediately);
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes