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

Issue 159913004: Stop handling the case where oldDocument and newDocument are the same in adoptDocument() (Closed)

Created:
6 years, 10 months ago by Inactive
Modified:
6 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org, Inactive
Visibility:
Public.

Description

Stop handling the case where oldDocument and newDocument are the same in adoptDocument() Stop handling the case where oldDocument and newDocument are the same in NodeListsNodeData::adoptDocument(). Replace the if check by an assertion as all the callers already make sure to call this method only if the oldDocument and the newDocument are different. R=eseidel, abarth Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166981

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M Source/core/dom/NodeRareData.h View 1 chunk +14 lines, -15 lines 0 comments Download
M Source/core/dom/TreeScopeAdopter.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
6 years, 10 months ago (2014-02-12 03:21:17 UTC) #1
eseidel
lgtm I'm surprised this patch works?
6 years, 10 months ago (2014-02-12 03:23:43 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/159913004/1
6 years, 10 months ago (2014-02-12 03:53:04 UTC) #3
commit-bot: I haz the power
6 years, 10 months ago (2014-02-12 07:58:49 UTC) #4
Message was sent while issue was closed.
Change committed as 166981

Powered by Google App Engine
This is Rietveld 408576698