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

Issue 2665603002: Change setIsLink to conform with other nonproperty setters. (Closed)

Created:
3 years, 10 months ago by shend
Modified:
3 years, 10 months ago
Reviewers:
nainar, sashab
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change setIsLink to conform with other nonproperty setters. In ComputedStyle, there are a few fields that are not CSS properties. They are mostly boolean fields, with getters and setters. The setters take no arguments and simply sets the boolean field to true. One exception is the isLink field, whose setter takes an argument and assigns the field to the argument (like a normal setter). However, we only use the setter as 'setIsLink(true)'. This patch changes the setIsLink setter to conform to the other nonproperty setters. This is prework for generating nonproperty fields in ComputedStyle. This patch allows us to generate the setter for isLink like the other nonproperty fields. BUG=628043 Review-Url: https://codereview.chromium.org/2665603002 Cr-Commit-Position: refs/heads/master@{#447173} Committed: https://chromium.googlesource.com/chromium/src/+/7f4313ab6f2a84dffb7394c6311afa8e1e0a5667

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (9 generated)
shend
Hey Naina, PTAL :)
3 years, 10 months ago (2017-01-29 23:22:07 UTC) #2
nainar
lgtm
3 years, 10 months ago (2017-01-29 23:26:26 UTC) #3
shend
Hey Sasha PTAL.
3 years, 10 months ago (2017-01-29 23:35:35 UTC) #7
sashab
LGTM!! This is the greatest CL description I've ever seen. I had 2 questions but ...
3 years, 10 months ago (2017-01-30 23:51:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2665603002/1
3 years, 10 months ago (2017-01-31 00:29:48 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 03:07:52 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7f4313ab6f2a84dffb7394c6311a...

Powered by Google App Engine
This is Rietveld 408576698