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

Issue 16171012: Correctly implemented removeWhere and retainWhere for elements in dart:html. (Closed)

Created:
7 years, 6 months ago by Emily Fortuna
Modified:
7 years, 6 months ago
Reviewers:
blois
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Correctly implemented removeWhere and retainWhere for elements in dart:html. BUG= R=blois@google.com Committed: https://code.google.com/p/dart/source/detail?r=23366

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -0 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 1 chunk +18 lines, -0 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +18 lines, -0 lines 0 comments Download
M tests/html/element_test.dart View 1 chunk +44 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Emily Fortuna
7 years, 6 months ago (2013-05-29 20:09:40 UTC) #1
blois
https://codereview.chromium.org/16171012/diff/2002/tools/dom/templates/html/impl/impl_Element.darttemplate File tools/dom/templates/html/impl/impl_Element.darttemplate (right): https://codereview.chromium.org/16171012/diff/2002/tools/dom/templates/html/impl/impl_Element.darttemplate#newcode72 tools/dom/templates/html/impl/impl_Element.darttemplate:72: why not: if (retainMatching) removed = _element.children.where((e) => !test(e)); ...
7 years, 6 months ago (2013-05-29 20:15:57 UTC) #2
Emily Fortuna
PTAL. I had it written the other way because I was mirroring the way it ...
7 years, 6 months ago (2013-05-29 20:29:19 UTC) #3
blois
lgtm
7 years, 6 months ago (2013-05-29 21:20:59 UTC) #4
Emily Fortuna
7 years, 6 months ago (2013-05-29 21:22:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r23366 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698