Title: [153753] trunk/Source/WebKit2
- Revision
- 153753
- Author
- [email protected]
- Date
- 2013-08-06 08:40:50 -0700 (Tue, 06 Aug 2013)
Log Message
REGRESSION(r151403): Resizing is extremely laggy on many sites when plugins are disallowed.
<http://webkit.org/b/119516>
<rdar://problem/14648086>
Reviewed by Simon Fraser.
The web process relies on the WindowAndViewFramesChanged mechanism for caching a copy
of the window rect for fast access from DOMWindow APIs.
We retain part of the optimization introduced in r151403, namely not computing the
viewFrameInWindowCoordinates and accessibilityPosition unless the web process needs them.
* UIProcess/API/mac/WKView.mm:
(-[WKView _updateWindowAndViewFrames]):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (153752 => 153753)
--- trunk/Source/WebKit2/ChangeLog 2013-08-06 15:08:21 UTC (rev 153752)
+++ trunk/Source/WebKit2/ChangeLog 2013-08-06 15:40:50 UTC (rev 153753)
@@ -1,3 +1,20 @@
+2013-08-06 Andreas Kling <[email protected]>
+
+ REGRESSION(r151403): Resizing is extremely laggy on many sites when plugins are disallowed.
+ <http://webkit.org/b/119516>
+ <rdar://problem/14648086>
+
+ Reviewed by Simon Fraser.
+
+ The web process relies on the WindowAndViewFramesChanged mechanism for caching a copy
+ of the window rect for fast access from DOMWindow APIs.
+
+ We retain part of the optimization introduced in r151403, namely not computing the
+ viewFrameInWindowCoordinates and accessibilityPosition unless the web process needs them.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView _updateWindowAndViewFrames]):
+
2013-07-26 Mark Rowe <[email protected]>
Logging should be configurable using human-readable channel names rather than crazy bitmasks
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (153752 => 153753)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2013-08-06 15:08:21 UTC (rev 153752)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2013-08-06 15:40:50 UTC (rev 153753)
@@ -468,9 +468,6 @@
dispatch_async(dispatch_get_main_queue(), ^{
_data->_didScheduleWindowAndViewFrameUpdate = NO;
- if (!_data->_needsViewFrameInWindowCoordinates && !WebCore::AXObjectCache::accessibilityEnabled())
- return;
-
NSRect viewFrameInWindowCoordinates = NSZeroRect;
NSPoint accessibilityPosition = NSZeroPoint;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes