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

Issue 24976002: HistoryController shouldn't call confusingAndOftenMisusedAttached (Closed)

Created:
7 years, 2 months ago by abarth-chromium
Modified:
7 years, 2 months ago
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Visibility:
Public.

Description

HistoryController shouldn't call confusingAndOftenMisusedAttached It's not entirely clear to me why this check is needed at all. I tried just removing it entirely but that caused a test to fail. Given that we just got the document from a frame, we must be worried about the case where we're in the middle of unloading the document. Regardless, checking whether the document has a RenderView is more direct than asking whether it is "attached". R=japhet,esprehn BUG=299011 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158515

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use the new hotness #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/loader/HistoryController.cpp View 1 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 8 (0 generated)
abarth-chromium
7 years, 2 months ago (2013-09-27 06:57:16 UTC) #1
esprehn
lgtm https://codereview.chromium.org/24976002/diff/1/Source/core/loader/HistoryController.cpp File Source/core/loader/HistoryController.cpp (right): https://codereview.chromium.org/24976002/diff/1/Source/core/loader/HistoryController.cpp#newcode126 Source/core/loader/HistoryController.cpp:126: if (m_currentItem->isCurrentDocument(document) && document->renderer()) { I usually use ...
7 years, 2 months ago (2013-09-27 18:23:45 UTC) #2
abarth-chromium
https://codereview.chromium.org/24976002/diff/1/Source/core/loader/HistoryController.cpp File Source/core/loader/HistoryController.cpp (right): https://codereview.chromium.org/24976002/diff/1/Source/core/loader/HistoryController.cpp#newcode126 Source/core/loader/HistoryController.cpp:126: if (m_currentItem->isCurrentDocument(document) && document->renderer()) { On 2013/09/27 18:23:45, esprehn ...
7 years, 2 months ago (2013-09-27 18:26:12 UTC) #3
esprehn
On 2013/09/27 18:26:12, abarth wrote: > https://codereview.chromium.org/24976002/diff/1/Source/core/loader/HistoryController.cpp > File Source/core/loader/HistoryController.cpp (right): > > https://codereview.chromium.org/24976002/diff/1/Source/core/loader/HistoryController.cpp#newcode126 > ...
7 years, 2 months ago (2013-09-27 18:32:00 UTC) #4
abarth-chromium
On 2013/09/27 18:32:00, esprehn wrote: > Oh yeah... whatever you think is best then. Maybe ...
7 years, 2 months ago (2013-09-27 20:34:51 UTC) #5
abarth-chromium
https://codereview.chromium.org/24976002/diff/9001/Source/core/loader/HistoryController.cpp File Source/core/loader/HistoryController.cpp (right): https://codereview.chromium.org/24976002/diff/9001/Source/core/loader/HistoryController.cpp#newcode126 Source/core/loader/HistoryController.cpp:126: if (m_currentItem->isCurrentDocument(document) && document->isActive()) { I updated this CL ...
7 years, 2 months ago (2013-09-30 05:06:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/24976002/9001
7 years, 2 months ago (2013-09-30 05:06:46 UTC) #7
commit-bot: I haz the power
7 years, 2 months ago (2013-09-30 06:24:51 UTC) #8
Message was sent while issue was closed.
Change committed as 158515

Powered by Google App Engine
This is Rietveld 408576698