Changeset 233548 in webkit


Ignore:
Timestamp:
Jul 5, 2018 4:17:40 PM (6 years ago)
Author:
BJ Burg
Message:

REGRESSION: ASSERT under WebAutomationSessionProxy::computeElementLayout when elementInViewClientCenterPoint returns nullopt
https://bugs.webkit.org/show_bug.cgi?id=187367
<rdar://problem/41861346>

Reviewed by Timothy Hatcher.

  • WebProcess/Automation/WebAutomationSessionProxy.cpp:

(WebKit::WebAutomationSessionProxy::computeElementLayout):
There's no reason to unwrap this optional, as the IPC argument type is std::optional<IntPoint>.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r233546 r233548  
     12018-07-05  Brian Burg  <bburg@apple.com>
     2
     3        REGRESSION: ASSERT under WebAutomationSessionProxy::computeElementLayout when elementInViewClientCenterPoint returns nullopt
     4        https://bugs.webkit.org/show_bug.cgi?id=187367
     5        <rdar://problem/41861346>
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * WebProcess/Automation/WebAutomationSessionProxy.cpp:
     10        (WebKit::WebAutomationSessionProxy::computeElementLayout):
     11        There's no reason to unwrap this optional, as the IPC argument type is std::optional<IntPoint>.
     12
    1132018-07-05  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.cpp

    r233122 r233548  
    618618    }
    619619
    620     WebProcess::singleton().parentProcessConnection()->send(Messages::WebAutomationSession::DidComputeElementLayout(callbackID, resultElementBounds, resultInViewCenterPoint.value(), isObscured, String()), 0);
     620    WebProcess::singleton().parentProcessConnection()->send(Messages::WebAutomationSession::DidComputeElementLayout(callbackID, resultElementBounds, resultInViewCenterPoint, isObscured, String()), 0);
    621621}
    622622
Note: See TracChangeset for help on using the changeset viewer.