Chromium Code Reviews
DescriptionAudit use of m_client in WebFrameWidgetImpl and remove null checks.
Now that a valid WebWidgetClient must always be passed when creating a
WebFrameWidget we can remove some of the redundant m_client == nullptr checks.
m_client can now become nullptr if close() is called on the WebFrameWidget,
but this is generally caught by checking m_layerTreeView.
To be safe if(m_client) checks have been replaced with DCHECK(m_client).
BUG=696895
Review-Url: https://codereview.chromium.org/2775113002
Cr-Commit-Position: refs/heads/master@{#460612}
Committed: https://chromium.googlesource.com/chromium/src/+/943648dbbf5a074d645d71c8108c0caedff7967a
Patch Set 1 #
Total comments: 2
Depends on Patchset: Messages
Total messages: 15 (5 generated)
|
|||||||||||||||||||