Title: [198885] trunk/Source/WebKit2
- Revision
- 198885
- Author
- [email protected]
- Date
- 2016-03-30 23:00:42 -0700 (Wed, 30 Mar 2016)
Log Message
Speculative Yosemite fix after r198872.
* UIProcess/Cocoa/WebAutomationSessionCocoa.mm:
(WebKit::WebAutomationSession::platformSimulateKeySequence):
Yosemite didn't like _Nullable.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (198884 => 198885)
--- trunk/Source/WebKit2/ChangeLog 2016-03-31 05:49:05 UTC (rev 198884)
+++ trunk/Source/WebKit2/ChangeLog 2016-03-31 06:00:42 UTC (rev 198885)
@@ -1,3 +1,11 @@
+2016-03-30 Alex Christensen <[email protected]>
+
+ Speculative Yosemite fix after r198872.
+
+ * UIProcess/Cocoa/WebAutomationSessionCocoa.mm:
+ (WebKit::WebAutomationSession::platformSimulateKeySequence):
+ Yosemite didn't like _Nullable.
+
2016-03-30 Yongjun Zhang <[email protected]>
Need to expose makeAllShadowRootsOpen in WKWebProcessPlugInScriptWorld.
Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebAutomationSessionCocoa.mm (198884 => 198885)
--- trunk/Source/WebKit2/UIProcess/Cocoa/WebAutomationSessionCocoa.mm 2016-03-31 05:49:05 UTC (rev 198884)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebAutomationSessionCocoa.mm 2016-03-31 06:00:42 UTC (rev 198885)
@@ -446,7 +446,7 @@
NSInteger windowNumber = window.windowNumber;
NSPoint eventPosition = NSMakePoint(0, window.frame.size.height);
- [text enumerateSubstringsInRange:NSMakeRange(0, text.length) options:NSStringEnumerationByComposedCharacterSequences usingBlock:^(NSString * _Nullable substring, NSRange substringRange, NSRange enclosingRange, BOOL * _Nonnull stop) {
+ [text enumerateSubstringsInRange:NSMakeRange(0, text.length) options:NSStringEnumerationByComposedCharacterSequences usingBlock:^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {
[eventsToBeSent addObject:[NSEvent keyEventWithType:NSEventTypeKeyDown location:eventPosition modifierFlags:modifiers timestamp:timestamp windowNumber:windowNumber context:nil characters:substring charactersIgnoringModifiers:substring isARepeat:NO keyCode:0]];
[eventsToBeSent addObject:[NSEvent keyEventWithType:NSEventTypeKeyUp location:eventPosition modifierFlags:modifiers timestamp:timestamp windowNumber:windowNumber context:nil characters:substring charactersIgnoringModifiers:substring isARepeat:NO keyCode:0]];
}];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes