Title: [183854] trunk/Source/WebKit2
- Revision
- 183854
- Author
- timothy_hor...@apple.com
- Date
- 2015-05-05 23:11:39 -0700 (Tue, 05 May 2015)
Log Message
Views get stuck with viewScale < 1 after switching from DynamicSizeWithMinimumViewSize to ViewSize
https://bugs.webkit.org/show_bug.cgi?id=144656
Reviewed by Dan Bernstein.
* UIProcess/mac/WKViewLayoutStrategy.mm:
(-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy willChangeLayoutStrategy]):
Reset the viewScale when we leave the DynamicSizeWithMinimumViewSize strategy.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (183853 => 183854)
--- trunk/Source/WebKit2/ChangeLog 2015-05-06 05:57:56 UTC (rev 183853)
+++ trunk/Source/WebKit2/ChangeLog 2015-05-06 06:11:39 UTC (rev 183854)
@@ -1,5 +1,16 @@
2015-05-05 Tim Horton <timothy_hor...@apple.com>
+ Views get stuck with viewScale < 1 after switching from DynamicSizeWithMinimumViewSize to ViewSize
+ https://bugs.webkit.org/show_bug.cgi?id=144656
+
+ Reviewed by Dan Bernstein.
+
+ * UIProcess/mac/WKViewLayoutStrategy.mm:
+ (-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy willChangeLayoutStrategy]):
+ Reset the viewScale when we leave the DynamicSizeWithMinimumViewSize strategy.
+
+2015-05-05 Tim Horton <timothy_hor...@apple.com>
+
Fix the build.
* Platform/mac/LayerHostingContext.mm:
Modified: trunk/Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm (183853 => 183854)
--- trunk/Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm 2015-05-06 05:57:56 UTC (rev 183853)
+++ trunk/Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm 2015-05-06 06:11:39 UTC (rev 183854)
@@ -333,6 +333,7 @@
- (void)willChangeLayoutStrategy
{
_wkView._rootLayer.transform = CATransform3DIdentity;
+ _page->scaleView(1);
}
@end
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes