Title: [240815] tags/Safari-607.1.29.1/Source/WebKit
Revision
240815
Author
[email protected]
Date
2019-01-31 13:55:44 -0800 (Thu, 31 Jan 2019)

Log Message

Cherry-pick r240729. rdar://problem/47685553

    Ensure image picker sourceType is set before cameraDevice
    https://bugs.webkit.org/show_bug.cgi?id=193998

    Reviewed by Beth Dakin.

    * UIProcess/ios/forms/WKFileUploadPanel.mm:
    (-[WKFileUploadPanel _showPhotoPickerWithSourceType:]):

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

Modified Paths

Diff

Modified: tags/Safari-607.1.29.1/Source/WebKit/ChangeLog (240814 => 240815)


--- tags/Safari-607.1.29.1/Source/WebKit/ChangeLog	2019-01-31 21:55:39 UTC (rev 240814)
+++ tags/Safari-607.1.29.1/Source/WebKit/ChangeLog	2019-01-31 21:55:44 UTC (rev 240815)
@@ -1,5 +1,29 @@
 2019-01-31  Alan Coon  <[email protected]>
 
+        Cherry-pick r240729. rdar://problem/47685553
+
+    Ensure image picker sourceType is set before cameraDevice
+    https://bugs.webkit.org/show_bug.cgi?id=193998
+    
+    Reviewed by Beth Dakin.
+    
+    * UIProcess/ios/forms/WKFileUploadPanel.mm:
+    (-[WKFileUploadPanel _showPhotoPickerWithSourceType:]):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-01-29  Conrad Shultz  <[email protected]>
+
+            Ensure image picker sourceType is set before cameraDevice
+            https://bugs.webkit.org/show_bug.cgi?id=193998
+
+            Reviewed by Beth Dakin.
+
+            * UIProcess/ios/forms/WKFileUploadPanel.mm:
+            (-[WKFileUploadPanel _showPhotoPickerWithSourceType:]):
+
+2019-01-31  Alan Coon  <[email protected]>
+
         Cherry-pick r240578. rdar://problem/47685372
 
     WebUserContentController::removeUserScriptMessageHandlerInternal may deref and delete itself

Modified: tags/Safari-607.1.29.1/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm (240814 => 240815)


--- tags/Safari-607.1.29.1/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm	2019-01-31 21:55:39 UTC (rev 240814)
+++ tags/Safari-607.1.29.1/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm	2019-01-31 21:55:44 UTC (rev 240815)
@@ -415,10 +415,10 @@
     ASSERT([UIImagePickerController isSourceTypeAvailable:sourceType]);
 
     _imagePicker = adoptNS([[UIImagePickerController alloc] init]);
-    [self _configureImagePicker:_imagePicker.get()];
     [_imagePicker setSourceType:sourceType];
     [_imagePicker setMediaTypes:[self _mediaTypesForPickerSourceType:sourceType]];
-    
+    [self _configureImagePicker:_imagePicker.get()];
+
     // Use a popover on the iPad if the source type is not the camera.
     // The camera will use a fullscreen, modal view controller.
     BOOL usePopover = currentUserInterfaceIdiomIsPad() && sourceType != UIImagePickerControllerSourceTypeCamera;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to