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

Issue 33013004: Have Document::mediaQueryMatcher() / Document::selectorQueryCache() return references (Closed)

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

Description

Have Document::mediaQueryMatcher() / Document::selectorQueryCache() return references Have Document::mediaQueryMatcher() / Document::selectorQueryCache() return references instead of pointers as they can never return null. This makes the calling code look safer. R=adamk BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160357

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M Source/core/dom/Document.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 3 chunks +6 lines, -6 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/frame/DOMWindow.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
7 years, 2 months ago (2013-10-23 17:23:42 UTC) #1
adamk
lgtm
7 years, 2 months ago (2013-10-23 17:45:24 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/33013004/1
7 years, 2 months ago (2013-10-23 17:46:51 UTC) #3
commit-bot: I haz the power
7 years, 2 months ago (2013-10-23 18:46:16 UTC) #4
Message was sent while issue was closed.
Change committed as 160357

Powered by Google App Engine
This is Rietveld 408576698