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

Log Message

REGRESSION (r110780): Loading a PDF always makes the WKView layer backed
https://bugs.webkit.org/show_bug.cgi?id=81734
<rdar://problem/11088172>

Reviewed by Adele Peterson.

* UIProcess/API/mac/WKView.mm:
(-[WKView _setPageHasCustomRepresentation:]):
Don't call -[NSView setWantsLayer:], the web process already takes care of entering and exiting
accelerated compositing mode for us.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (111492 => 111493)


--- trunk/Source/WebKit2/ChangeLog	2012-03-21 03:56:05 UTC (rev 111492)
+++ trunk/Source/WebKit2/ChangeLog	2012-03-21 04:01:54 UTC (rev 111493)
@@ -1,3 +1,16 @@
+2012-03-20  Anders Carlsson  <[email protected]>
+
+        REGRESSION (r110780): Loading a PDF always makes the WKView layer backed
+        https://bugs.webkit.org/show_bug.cgi?id=81734
+        <rdar://problem/11088172>
+
+        Reviewed by Adele Peterson.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView _setPageHasCustomRepresentation:]):
+        Don't call -[NSView setWantsLayer:], the web process already takes care of entering and exiting
+        accelerated compositing mode for us.
+
 2012-03-20  Jon Lee  <[email protected]>
 
         Restrict access to notifications for unique origins and file URLs with no local file access

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


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2012-03-21 03:56:05 UTC (rev 111492)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2012-03-21 04:01:54 UTC (rev 111493)
@@ -2552,8 +2552,6 @@
     bool hadPDFView = _data->_pdfViewController;
     _data->_pdfViewController = nullptr;
 
-    self.wantsLayer = pageHasCustomRepresentation;
-
     if (pageHasCustomRepresentation)
         _data->_pdfViewController = PDFViewController::create(self);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to