Title: [92603] trunk/Source/WebKit2
- Revision
- 92603
- Author
- m...@apple.com
- Date
- 2011-08-08 10:28:47 -0700 (Mon, 08 Aug 2011)
Log Message
<rdar://problem/9652350> REGRESSION (r87755): WKView doesn't update when I drag files into a background Safari window
https://bugs.webkit.org/show_bug.cgi?id=65860
Reviewed by Simon Fraser.
When layer flush scheduling is re-enabled, schedule a layer flush, just in case one was requested while
scheduling was disabled. It doesn’t seem worthwhile to track whether that in fact happened, so do so
unconditionally.
* WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
(WebKit::LayerTreeHostCAMac::setLayerFlushSchedulingEnabled):
* WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
(WebKit::LayerTreeHostCAWin::setLayerFlushSchedulingEnabled):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (92602 => 92603)
--- trunk/Source/WebKit2/ChangeLog 2011-08-08 17:20:58 UTC (rev 92602)
+++ trunk/Source/WebKit2/ChangeLog 2011-08-08 17:28:47 UTC (rev 92603)
@@ -1,3 +1,19 @@
+2011-08-08 Dan Bernstein <m...@apple.com>
+
+ <rdar://problem/9652350> REGRESSION (r87755): WKView doesn't update when I drag files into a background Safari window
+ https://bugs.webkit.org/show_bug.cgi?id=65860
+
+ Reviewed by Simon Fraser.
+
+ When layer flush scheduling is re-enabled, schedule a layer flush, just in case one was requested while
+ scheduling was disabled. It doesn’t seem worthwhile to track whether that in fact happened, so do so
+ unconditionally.
+
+ * WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
+ (WebKit::LayerTreeHostCAMac::setLayerFlushSchedulingEnabled):
+ * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
+ (WebKit::LayerTreeHostCAWin::setLayerFlushSchedulingEnabled):
+
2011-08-05 Pavel Feldman <pfeld...@chromium.org>
Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
Modified: trunk/Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm (92602 => 92603)
--- trunk/Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm 2011-08-08 17:20:58 UTC (rev 92602)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm 2011-08-08 17:28:47 UTC (rev 92603)
@@ -95,8 +95,10 @@
m_layerFlushSchedulingEnabled = layerFlushingEnabled;
- if (m_layerFlushSchedulingEnabled)
+ if (m_layerFlushSchedulingEnabled) {
+ scheduleLayerFlush();
return;
+ }
if (!m_flushPendingLayerChangesRunLoopObserver)
return;
Modified: trunk/Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp (92602 => 92603)
--- trunk/Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp 2011-08-08 17:20:58 UTC (rev 92602)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp 2011-08-08 17:28:47 UTC (rev 92603)
@@ -143,8 +143,10 @@
m_layerFlushSchedulingEnabled = layerFlushingEnabled;
- if (m_layerFlushSchedulingEnabled)
+ if (m_layerFlushSchedulingEnabled) {
+ scheduleLayerFlush();
return;
+ }
LayerChangesFlusher::shared().cancelPendingFlush(this);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes