REGRESSION(r212439): Web Inspector Toolbar / Window appears broken
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Feb 2017 05:13:17 +0000 (05:13 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Feb 2017 05:13:17 +0000 (05:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168494

Reviewed by Joseph Pecoraro.

Missed one conversion from acceleratesDrawing to drawsAsynchronously, which
caused non-Whippet GrpahicsContext shadow drawing to happen unexpectedly.

* platform/graphics/ca/cocoa/WebTiledBackingLayer.mm:
(-[WebTiledBackingLayer drawsAsynchronously]):
(-[WebTiledBackingLayer acceleratesDrawing]): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212524 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/cocoa/WebTiledBackingLayer.mm

index 7d6ac41..c8964e1 100644 (file)
@@ -1,3 +1,17 @@
+2017-02-16  Simon Fraser  <simon.fraser@apple.com>
+
+        REGRESSION(r212439): Web Inspector Toolbar / Window appears broken
+        https://bugs.webkit.org/show_bug.cgi?id=168494
+
+        Reviewed by Joseph Pecoraro.
+
+        Missed one conversion from acceleratesDrawing to drawsAsynchronously, which
+        caused non-Whippet GrpahicsContext shadow drawing to happen unexpectedly.
+
+        * platform/graphics/ca/cocoa/WebTiledBackingLayer.mm:
+        (-[WebTiledBackingLayer drawsAsynchronously]):
+        (-[WebTiledBackingLayer acceleratesDrawing]): Deleted.
+
 2017-02-16  Chris Dumez  <cdumez@apple.com>
 
         <input>.labels is empty if type changes from text->hidden->checkbox
index 20e94b7..a200e05 100644 (file)
@@ -108,7 +108,7 @@ using namespace WebCore;
     _tileController->setAcceleratesDrawing(acceleratesDrawing);
 }
 
-- (BOOL)acceleratesDrawing
+- (BOOL)drawsAsynchronously
 {
     return _tileController ? _tileController->acceleratesDrawing() : NO;
 }