DescriptionHistoryController 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
Messages
Total messages: 8 (0 generated)
|