Result of git cl format
void FormActivityObserverBridge::DidSubmitDocument(web::WebState* web_state,
const std::string& form_name,
bool has_user_gesture,
bool source_frame_is_main) {
DCHECK_EQ(web_state, web_state_);
if ([owner_ respondsToSelector:@selector
(webState:submittedDocumentWithFormNamed:hasUserGesture
:sourceFrameIsMain:)]) {
[owner_ webState:web_state
submittedDocumentWithFormNamed:form_name
hasUserGesture:has_user_gesture
sourceFrameIsMain:source_frame_is_main];
}
}
Note that the selector in the if is quite bad (: on new line).
Comment 1 by ehmaldonado@chromium.org
, Aug 6