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

Issue 34393005: IDL compiler: merge and simplify EventHandler non-callable value check (Closed)

Created:
7 years, 2 months ago by Nils Barth (inactive)
Modified:
7 years, 2 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive, kouhei (in TOK)
Visibility:
Public.

Description

IDL compiler: merge and simplify EventHandler non-callable value check Followup to: IDL compiler: move EventHandler null check out of generated bindings https://codereview.chromium.org/32323012/ Cleanup, merges two if checks into one in several places. Also adds check for isAttribute one place where we're assuming it. BUG=239771 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160304

Patch Set 1 #

Patch Set 2 : Formatting #

Total comments: 6

Patch Set 3 : Simplified #

Patch Set 4 : isAttribute == false #

Patch Set 5 : Comment #

Patch Set 6 : Comment (reupload) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -15 lines) Patch
M Source/bindings/v8/V8EventListenerList.h View 1 2 3 2 chunks +5 lines, -9 lines 0 comments Download
M Source/bindings/v8/V8EventListenerList.cpp View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8Utilities.cpp View 1 2 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Nils Barth (inactive)
7 years, 2 months ago (2013-10-22 12:00:54 UTC) #1
haraken
https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h File Source/bindings/v8/V8EventListenerList.h (right): https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h#newcode57 Source/bindings/v8/V8EventListenerList.h:57: || (isAttribute && !value->IsFunction())) Looks like you newly added ...
7 years, 2 months ago (2013-10-22 12:05:29 UTC) #2
Nils Barth (inactive)
https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h File Source/bindings/v8/V8EventListenerList.h (right): https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h#newcode57 Source/bindings/v8/V8EventListenerList.h:57: || (isAttribute && !value->IsFunction())) On 2013/10/22 12:05:30, haraken wrote: ...
7 years, 2 months ago (2013-10-22 12:16:51 UTC) #3
haraken
https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h File Source/bindings/v8/V8EventListenerList.h (right): https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h#newcode57 Source/bindings/v8/V8EventListenerList.h:57: || (isAttribute && !value->IsFunction())) On 2013/10/22 12:16:51, Nils Barth ...
7 years, 2 months ago (2013-10-22 12:24:23 UTC) #4
Nils Barth (inactive)
Simplified patch, based on looking into how this is called. https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h File Source/bindings/v8/V8EventListenerList.h (right): https://codereview.chromium.org/34393005/diff/30001/Source/bindings/v8/V8EventListenerList.h#newcode57 ...
7 years, 2 months ago (2013-10-23 01:43:51 UTC) #5
haraken
LGTM. Looks even better!
7 years, 2 months ago (2013-10-23 03:28:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/34393005/190001
7 years, 2 months ago (2013-10-23 04:28:51 UTC) #7
commit-bot: I haz the power
7 years, 2 months ago (2013-10-23 05:32:47 UTC) #8
Message was sent while issue was closed.
Change committed as 160304

Powered by Google App Engine
This is Rietveld 408576698