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

Issue 53683007: Have SelectorQuery API take rootNode by reference (Closed)

Created:
7 years, 1 month ago by Inactive
Modified:
7 years, 1 month ago
Reviewers:
adamk
CC:
blink-reviews, eae+blinkwatch, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Have SelectorQuery API take rootNode by reference Have SelectorQuery API take rootNode by reference instead of taking a pointer as it is expected to be non-null. This also gets rid of several unnecessary null checks. R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161095

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -227 lines) Patch
M Source/core/css/ElementRuleCollector.cpp View 3 chunks +15 lines, -14 lines 0 comments Download
M Source/core/css/SelectorChecker.h View 2 chunks +13 lines, -13 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 19 chunks +97 lines, -107 lines 0 comments Download
M Source/core/css/SelectorCheckerFastPath.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/SelectorCheckerFastPath.cpp View 4 chunks +12 lines, -12 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/SelectorQuery.h View 3 chunks +17 lines, -17 lines 0 comments Download
M Source/core/dom/SelectorQuery.cpp View 13 chunks +57 lines, -59 lines 0 comments Download
M Source/core/dom/StyleSheetScopingNodeList.h View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/html/HTMLFormControlElement.h View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/html/HTMLOptGroupElement.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
7 years, 1 month ago (2013-10-31 19:12:25 UTC) #1
adamk
lgtm
7 years, 1 month ago (2013-10-31 20:13:36 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/53683007/1
7 years, 1 month ago (2013-10-31 20:29:35 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-10-31 21:34:00 UTC) #4
Message was sent while issue was closed.
Change committed as 161095

Powered by Google App Engine
This is Rietveld 408576698