Title: [242394] trunk/Source/WebKit
- Revision
- 242394
- Author
- [email protected]
- Date
- 2019-03-04 14:36:14 -0800 (Mon, 04 Mar 2019)
Log Message
Unreviewed build fix after r242378
* UIProcess/ios/EditableImageController.mm:
(WebKit::EditableImageController::associateWithAttachment):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (242393 => 242394)
--- trunk/Source/WebKit/ChangeLog 2019-03-04 22:09:57 UTC (rev 242393)
+++ trunk/Source/WebKit/ChangeLog 2019-03-04 22:36:14 UTC (rev 242394)
@@ -1,5 +1,12 @@
2019-03-04 Brent Fulgham <[email protected]>
+ Unreviewed build fix after r242378
+
+ * UIProcess/ios/EditableImageController.mm:
+ (WebKit::EditableImageController::associateWithAttachment):
+
+2019-03-04 Brent Fulgham <[email protected]>
+
Check contextIDs when handling WebContent messages
https://bugs.webkit.org/show_bug.cgi?id=195289
<rdar://problem/48475870>
Modified: trunk/Source/WebKit/UIProcess/ios/EditableImageController.mm (242393 => 242394)
--- trunk/Source/WebKit/UIProcess/ios/EditableImageController.mm 2019-03-04 22:09:57 UTC (rev 242393)
+++ trunk/Source/WebKit/UIProcess/ios/EditableImageController.mm 2019-03-04 22:36:14 UTC (rev 242394)
@@ -38,7 +38,7 @@
#import <WebCore/GraphicsLayer.h>
#import <wtf/RetainPtr.h>
-#define MESSAGE_CHECK_VIEWID(embeddedViewID) MESSAGE_CHECK_BASE(m_editableImages.isValidKey(embeddedViewID), connection())
+#define MESSAGE_CHECK_VIEWID(embeddedViewID) MESSAGE_CHECK_BASE(m_editableImages.isValidKey(embeddedViewID), m_webPageProxy->process().connection())
namespace WebKit {
@@ -87,11 +87,11 @@
void EditableImageController::associateWithAttachment(WebCore::GraphicsLayer::EmbeddedViewID embeddedViewID, const String& attachmentID)
{
- MESSAGE_CHECK_VIEWID(embeddedViewID);
if (!m_webPageProxy)
return;
auto& page = *m_webPageProxy;
+ MESSAGE_CHECK_VIEWID(embeddedViewID);
page.registerAttachmentIdentifier(attachmentID);
auto& attachment = *page.attachmentForIdentifier(attachmentID);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes