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

Issue 13617003: Remove some usages of IterableMixinWorkaround from HTML library. (Closed)

Created:
7 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 8 months ago
Reviewers:
floitsch, blois
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove some usages of IterableMixinWorkaround from HTML library. I haven't found a way to remove the usages in immutable_list_mixin.darttemplate yet, since it requires understanding the Python code using the template. Committed: https://code.google.com/p/dart/source/detail?r=21187

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -814 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 17 chunks +42 lines, -268 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 17 chunks +42 lines, -268 lines 0 comments Download
M sdk/lib/web_audio/dartium/web_audio_dartium.dart View 1 2 chunks +0 lines, -8 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 11 chunks +23 lines, -175 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Node.darttemplate View 1 7 chunks +26 lines, -95 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lasse Reichstein Nielsen
Based on the previous CL that made ListBase publicly available.
7 years, 8 months ago (2013-04-08 11:41:40 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl/impl_Node.darttemplate File tools/dom/templates/html/impl/impl_Node.darttemplate (right): https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl/impl_Node.darttemplate#newcode108 tools/dom/templates/html/impl/impl_Node.darttemplate:108: void removeAll(Iterable elements) { Explain why this doesn't ...
7 years, 8 months ago (2013-04-08 15:33:14 UTC) #2
floitsch
Adding blois@.
7 years, 8 months ago (2013-04-08 15:33:31 UTC) #3
blois
For the immutable_list_mixin.darttemplate, it's going to be a bit more problematic as a number of ...
7 years, 8 months ago (2013-04-08 15:45:45 UTC) #4
floitsch
On 2013/04/08 15:45:45, blois wrote: > For the immutable_list_mixin.darttemplate, it's going to be a bit ...
7 years, 8 months ago (2013-04-08 15:49:13 UTC) #5
Lasse Reichstein Nielsen
Committed patchset #2 manually as r21187 (presubmit successful).
7 years, 8 months ago (2013-04-10 09:03:54 UTC) #6
Lasse Reichstein Nielsen
7 years, 8 months ago (2013-04-11 07:28:19 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl...
File tools/dom/templates/html/impl/impl_Element.darttemplate (right):

https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl...
tools/dom/templates/html/impl/impl_Element.darttemplate:185:
_nodeList.removeAll(elements);
Absolutely, good catch.

https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl...
File tools/dom/templates/html/impl/impl_Node.darttemplate (right):

https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl...
tools/dom/templates/html/impl/impl_Node.darttemplate:108: void
removeAll(Iterable elements) {
On 2013/04/08 15:33:14, floitsch wrote:
> Explain why this doesn't come from the ListBase.

Done.

https://codereview.chromium.org/13617003/diff/1/tools/dom/templates/html/impl...
tools/dom/templates/html/impl/impl_Node.darttemplate:131: _filter(test, true);
On 2013/04/08 15:33:14, floitsch wrote:
> ditto.

Done.

Powered by Google App Engine
This is Rietveld 408576698