Title: [149580] trunk/Source
- Revision
- 149580
- Author
- timothy_hor...@apple.com
- Date
- 2013-05-05 15:11:53 -0700 (Sun, 05 May 2013)
Log Message
[wk2] Page Overlays: deviceScaleFactor doesn't update when the display changes
https://bugs.webkit.org/show_bug.cgi?id=115577
<rdar://problem/13762583>
Reviewed by Darin Adler.
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::setDeviceScaleFactor):
Invalidate the page overlay layers' device scale factor when
TiledCoreAnimationDrawingArea is notified that it has changed.
* WebCore.exp.in:
Export GraphicsLayer::noteDeviceOrPageScaleFactorChangedIncludingDescendants
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (149579 => 149580)
--- trunk/Source/WebCore/ChangeLog 2013-05-05 19:03:49 UTC (rev 149579)
+++ trunk/Source/WebCore/ChangeLog 2013-05-05 22:11:53 UTC (rev 149580)
@@ -1,3 +1,14 @@
+2013-05-05 Tim Horton <timothy_hor...@apple.com>
+
+ [wk2] Page Overlays: deviceScaleFactor doesn't update when the display changes
+ https://bugs.webkit.org/show_bug.cgi?id=115577
+ <rdar://problem/13762583>
+
+ Reviewed by Darin Adler.
+
+ * WebCore.exp.in:
+ Export GraphicsLayer::noteDeviceOrPageScaleFactorChangedIncludingDescendants
+
2013-05-05 Anders Carlsson <ander...@apple.com>
Remove the Vector::append overload that takes a Vector
Modified: trunk/Source/WebCore/WebCore.exp.in (149579 => 149580)
--- trunk/Source/WebCore/WebCore.exp.in 2013-05-05 19:03:49 UTC (rev 149579)
+++ trunk/Source/WebCore/WebCore.exp.in 2013-05-05 22:11:53 UTC (rev 149580)
@@ -252,6 +252,7 @@
__ZN7WebCore13GraphicsLayer17suspendAnimationsEd
__ZN7WebCore13GraphicsLayer18setBackgroundColorERKNS_5ColorE
__ZN7WebCore13GraphicsLayer20setReplicatedByLayerEPS0_
+__ZN7WebCore13GraphicsLayer54noteDeviceOrPageScaleFactorChangedIncludingDescendantsEv
__ZN7WebCore13GraphicsLayer6createEPNS_19GraphicsLayerClientE
__ZN7WebCore13GraphicsLayer6createEPNS_20GraphicsLayerFactoryEPNS_19GraphicsLayerClientE
__ZN7WebCore13GraphicsLayer8addChildEPS0_
Modified: trunk/Source/WebKit2/ChangeLog (149579 => 149580)
--- trunk/Source/WebKit2/ChangeLog 2013-05-05 19:03:49 UTC (rev 149579)
+++ trunk/Source/WebKit2/ChangeLog 2013-05-05 22:11:53 UTC (rev 149580)
@@ -1,3 +1,16 @@
+2013-05-05 Tim Horton <timothy_hor...@apple.com>
+
+ [wk2] Page Overlays: deviceScaleFactor doesn't update when the display changes
+ https://bugs.webkit.org/show_bug.cgi?id=115577
+ <rdar://problem/13762583>
+
+ Reviewed by Darin Adler.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::setDeviceScaleFactor):
+ Invalidate the page overlay layers' device scale factor when
+ TiledCoreAnimationDrawingArea is notified that it has changed.
+
2013-05-05 Anders Carlsson <ander...@apple.com>
Remove the Vector::append overload that takes a Vector
Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (149579 => 149580)
--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2013-05-05 19:03:49 UTC (rev 149579)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2013-05-05 22:11:53 UTC (rev 149580)
@@ -459,6 +459,9 @@
void TiledCoreAnimationDrawingArea::setDeviceScaleFactor(float deviceScaleFactor)
{
m_webPage->setDeviceScaleFactor(deviceScaleFactor);
+
+ for (PageOverlayLayerMap::iterator it = m_pageOverlayLayers.begin(), end = m_pageOverlayLayers.end(); it != end; ++it)
+ it->value->noteDeviceOrPageScaleFactorChangedIncludingDescendants();
}
void TiledCoreAnimationDrawingArea::setLayerHostingMode(uint32_t opaqueLayerHostingMode)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes