Chromium Code Reviews
DescriptionClarify when DocumentLoader's FrameLoader/FrameLoaderClient accessors can be used
- Change frameLoader() to return a reference after DCHECK on m_frame
- Get FrameLoaderClient directly from m_frame when needed than getting
the FrameLoader and then calling client() on it. FrameLoader::client()
is just calling m_frame->client().
- Replace code checking nullness of frameLoader() with m_frame
- Use m_frame inside DocumentLoader than calling frame() which doesn't
add any value.
R=yhirano@chromium.org,tkent@chromium.org
BUG=671533
Review-Url: https://codereview.chromium.org/2556053002
Cr-Commit-Position: refs/heads/master@{#444333}
Committed: https://chromium.googlesource.com/chromium/src/+/78f5a0c23df6926c73cf92839638868e982aae7e
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase and comment fix #
Total comments: 4
Patch Set 4 : Rebase #Patch Set 5 : a #Patch Set 6 : Rebase #Patch Set 7 : Rebase #
Messages
Total messages: 30 (22 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||