Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 2556053002: Clarify when DocumentLoader's FrameLoader/FrameLoaderClient accessors can be used (Closed)

Created:
4 years ago by tyoshino (SeeGerritForStatus)
Modified:
3 years, 11 months ago
Reviewers:
tkent, yhirano
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clarify 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -28 lines) Patch
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 2 3 4 5 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 14 chunks +38 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
tyoshino (SeeGerritForStatus)
4 years ago (2016-12-13 05:22:49 UTC) #9
yhirano
https://codereview.chromium.org/2556053002/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.h File third_party/WebKit/Source/core/loader/DocumentLoader.h (right): https://codereview.chromium.org/2556053002/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.h#newcode68 third_party/WebKit/Source/core/loader/DocumentLoader.h:68: class CORE_EXPORT DocumentLoader +final https://codereview.chromium.org/2556053002/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.h#newcode215 third_party/WebKit/Source/core/loader/DocumentLoader.h:215: FrameLoaderClient* frameLoaderClient() const; ...
3 years, 12 months ago (2016-12-26 08:46:24 UTC) #13
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2556053002/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.h File third_party/WebKit/Source/core/loader/DocumentLoader.h (right): https://codereview.chromium.org/2556053002/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.h#newcode68 third_party/WebKit/Source/core/loader/DocumentLoader.h:68: class CORE_EXPORT DocumentLoader On 2016/12/26 08:46:23, yhirano wrote: > ...
3 years, 11 months ago (2017-01-10 10:29:25 UTC) #14
yhirano
lgtm
3 years, 11 months ago (2017-01-11 07:49:04 UTC) #19
tyoshino (SeeGerritForStatus)
+tkent please review Source/web/
3 years, 11 months ago (2017-01-11 08:02:12 UTC) #22
tkent
lgtm
3 years, 11 months ago (2017-01-11 09:11:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556053002/120001
3 years, 11 months ago (2017-01-18 09:33:53 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 11:24:12 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/78f5a0c23df6926c73cf92839638...

Powered by Google App Engine
This is Rietveld 408576698