Title: [111407] trunk/Source/WebKit2
Revision
111407
Author
[email protected]
Date
2012-03-20 10:21:00 -0700 (Tue, 20 Mar 2012)

Log Message

Graphic distortion effect when launching with empty page Safari after reset
https://bugs.webkit.org/show_bug.cgi?id=81677
<rdar://problem/11065904>

Reviewed by Sam Weinig.

Don't set the redraw policy to never, since that was causing the WKView layer to never be updated. Instead,
let AppKit decide which redraw policy to use.

* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:contextRef:pageGroupRef:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (111406 => 111407)


--- trunk/Source/WebKit2/ChangeLog	2012-03-20 17:18:40 UTC (rev 111406)
+++ trunk/Source/WebKit2/ChangeLog	2012-03-20 17:21:00 UTC (rev 111407)
@@ -1,3 +1,17 @@
+2012-03-20  Anders Carlsson  <[email protected]>
+
+        Graphic distortion effect when launching with empty page Safari after reset
+        https://bugs.webkit.org/show_bug.cgi?id=81677
+        <rdar://problem/11065904>
+
+        Reviewed by Sam Weinig.
+
+        Don't set the redraw policy to never, since that was causing the WKView layer to never be updated. Instead,
+        let AppKit decide which redraw policy to use.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView initWithFrame:contextRef:pageGroupRef:]):
+
 2012-03-20  Gyuyoung Kim  <[email protected]>
 
         Convert hasSpellingMarker to use Internals interface.

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (111406 => 111407)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2012-03-20 17:18:40 UTC (rev 111406)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2012-03-20 17:21:00 UTC (rev 111407)
@@ -2912,10 +2912,8 @@
 
     [self _registerDraggedTypes];
 
-    if ([self _shouldUseTiledDrawingArea]) {
-        self.layerContentsRedrawPolicy = NSViewLayerContentsRedrawNever;
+    if ([self _shouldUseTiledDrawingArea])
         self.wantsLayer = YES;
-    }
 
     WebContext::statistics().wkViewCount++;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to