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

Issue 10869029: Remove trivially redundant tests from dispatch. (Closed)

Created:
8 years, 4 months ago by sra1
Modified:
8 years, 4 months ago
Reviewers:
vsm
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove trivially redundant tests from html_dart2js dispatches. Committed: https://code.google.com/p/dart/source/detail?r=11257

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -99 lines) Patch
M lib/dom/scripts/systemhtml.py View 1 4 chunks +15 lines, -10 lines 0 comments Download
M lib/html/dart2js/html_dart2js.dart View 8 chunks +18 lines, -89 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
sra1
8 years, 4 months ago (2012-08-23 20:18:16 UTC) #1
vsm
8 years, 4 months ago (2012-08-23 20:28:09 UTC) #2
LGTM aside from the issue we discussed on named params.

https://chromiumcodereview.appspot.com/10869029/diff/1/lib/html/dart2js/html_...
File lib/html/dart2js/html_dart2js.dart (right):

https://chromiumcodereview.appspot.com/10869029/diff/1/lib/html/dart2js/html_...
lib/html/dart2js/html_dart2js.dart:16887: +    if
((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement ||
border_OR_canvas_OR_image_OR_pixels_OR_video == null) &&
You can remove the check on:
border_OR_canvas_OR_image_OR_pixels_OR_video == null
right?  That would be caught in the previous if.  Ditto below.

Powered by Google App Engine
This is Rietveld 408576698