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

Issue 342403007: Use IDL argument default values in Document.idl (Closed)

Created:
6 years, 6 months ago by Jens Widell
Modified:
6 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, arv+blink, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, Inactive, watchdog-blink-watchlist_google.com, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use IDL argument default values in Document.idl The 'whatToShow' and 'filter' arguments to the createNodeIterator() and createTreeWalker() methods have default values in the specification. Add those default values in Document.idl, and get rid of the extra overloads of Document::createNodeIterator() and ::createTreeWalker(). BUG=258153 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176938

Patch Set 1 #

Total comments: 2

Patch Set 2 : restore FIXME #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -48 lines) Patch
M Source/core/dom/Document.h View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 1 chunk +3 lines, -39 lines 0 comments Download
M Source/core/dom/Document.idl View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Jens Widell
PTAL Note: importNode() should also have a default (deep=false), but we have the wrong default ...
6 years, 6 months ago (2014-06-25 15:37:01 UTC) #1
haraken
LGTM https://codereview.chromium.org/342403007/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (left): https://codereview.chromium.org/342403007/diff/1/Source/core/dom/Document.cpp#oldcode1547 Source/core/dom/Document.cpp:1547: // FIXME: Probably this should be handled within ...
6 years, 6 months ago (2014-06-25 15:40:57 UTC) #2
Jens Widell
https://codereview.chromium.org/342403007/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (left): https://codereview.chromium.org/342403007/diff/1/Source/core/dom/Document.cpp#oldcode1547 Source/core/dom/Document.cpp:1547: // FIXME: Probably this should be handled within the ...
6 years, 6 months ago (2014-06-25 15:52:48 UTC) #3
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-25 15:53:20 UTC) #4
Jens Widell
The CQ bit was unchecked by jl@opera.com
6 years, 6 months ago (2014-06-25 15:53:24 UTC) #5
Jens Widell
On 2014/06/25 15:53:24, Jens Lindström wrote: > The CQ bit was unchecked by mailto:jl@opera.com I'll ...
6 years, 6 months ago (2014-06-25 15:55:18 UTC) #6
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-25 16:39:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/342403007/20001
6 years, 6 months ago (2014-06-25 16:40:23 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-25 17:45:59 UTC) #9
Message was sent while issue was closed.
Change committed as 176938

Powered by Google App Engine
This is Rietveld 408576698