Title: [241573] trunk/Tools
- Revision
- 241573
- Author
- [email protected]
- Date
- 2019-02-14 16:51:59 -0800 (Thu, 14 Feb 2019)
Log Message
Fix the build.
* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::drawSquareInEditableImage):
* TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
(TestWebKitAPI::drawSquareInEditableImage):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (241572 => 241573)
--- trunk/Tools/ChangeLog 2019-02-15 00:19:22 UTC (rev 241572)
+++ trunk/Tools/ChangeLog 2019-02-15 00:51:59 UTC (rev 241573)
@@ -7,6 +7,15 @@
* TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
(TestWebKitAPI::drawSquareInEditableImage):
+2019-02-14 Tim Horton <[email protected]>
+
+ Fix the build.
+
+ * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
+ (WTR::UIScriptController::drawSquareInEditableImage):
+ * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
+ (TestWebKitAPI::drawSquareInEditableImage):
+
2019-02-14 Brian Burg <[email protected]>
[Mac] WebInspectorUI.framework does not need to be soft-linked anymore
Modified: trunk/Tools/TestRunnerShared/spi/PencilKitTestSPI.h (241572 => 241573)
--- trunk/Tools/TestRunnerShared/spi/PencilKitTestSPI.h 2019-02-15 00:19:22 UTC (rev 241572)
+++ trunk/Tools/TestRunnerShared/spi/PencilKitTestSPI.h 2019-02-15 00:51:59 UTC (rev 241573)
@@ -41,7 +41,7 @@
typedef NSInteger PKInkType;
@interface PKInk : NSObject
-+ (PKInk *)inkWithType:(PKInkType)type color:(UIColor *)color weight:(CGFloat)weight;
++ (PKInk *)inkWithIdentifier:(NSString *)type color:(UIColor *)color weight:(CGFloat)weight;
@end
@interface PKStroke : NSObject
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm (241572 => 241573)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm 2019-02-15 00:19:22 UTC (rev 241572)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm 2019-02-15 00:51:59 UTC (rev 241573)
@@ -1920,7 +1920,7 @@
PKCanvasView *canvasView = findEditableImageCanvas(webView);
RetainPtr<PKDrawing> drawing = canvasView.drawing ?: adoptNS([[pkDrawingClass alloc] init]);
RetainPtr<CGPathRef> path = adoptCF(CGPathCreateWithRect(CGRectMake(0, 0, 50, 50), NULL));
- RetainPtr<PKInk> ink = [pkInkClass inkWithType:@"com.apple.ink.pen" color:UIColor.greenColor weight:100.0];
+ RetainPtr<PKInk> ink = [pkInkClass inkWithIdentifier:@"com.apple.ink.pen" color:UIColor.greenColor weight:100.0];
RetainPtr<PKStroke> stroke = adoptNS([[pkStrokeClass alloc] _initWithPath:path.get() ink:ink.get() inputScale:1]);
[drawing _addStroke:stroke.get()];
Modified: trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm (241572 => 241573)
--- trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm 2019-02-15 00:19:22 UTC (rev 241572)
+++ trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm 2019-02-15 00:51:59 UTC (rev 241573)
@@ -1007,7 +1007,7 @@
PKCanvasView *canvasView = findEditableImageCanvas();
RetainPtr<PKDrawing> drawing = canvasView.drawing ?: adoptNS([[pkDrawingClass alloc] init]);
RetainPtr<CGPathRef> path = adoptCF(CGPathCreateWithRect(CGRectMake(0, 0, 50, 50), NULL));
- RetainPtr<PKInk> ink = [pkInkClass inkWithType:@"com.apple.ink.pen" color:UIColor.greenColor weight:100.0];
+ RetainPtr<PKInk> ink = [pkInkClass inkWithIdentifier:@"com.apple.ink.pen" color:UIColor.greenColor weight:100.0];
RetainPtr<PKStroke> stroke = adoptNS([[pkStrokeClass alloc] _initWithPath:path.get() ink:ink.get() inputScale:1]);
[drawing _addStroke:stroke.get()];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes