• Dan Beam's avatar
    Closure: use @closurePrimitive and move away from coding conventions · ff6f8ac1
    Dan Beam authored
    There are duplicate names in ChromeCodingConvention.java inside of
    third_party/closure_compiler/compiler/compiler.jar that match assert,
    assertNotReached, and cr.ui.decorate.
    
    Recently, @closurePrimitive {...} was created in order to annotate
    these methods instead of needing to duplicate their names in Java.
    
    Use this syntax in Chrome while concurrently removing it from the
    compiler's Java internally (eventually released externally).
    
    R=dpapad@chromium.org
    BUG=970885
    
    Change-Id: I24f7bad0f52cf9c5af8984b9f8e4c063743c35e6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729835
    Commit-Queue: Dan Beam <dbeam@chromium.org>
    Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
    Auto-Submit: Dan Beam <dbeam@chromium.org>
    Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#682926}
    ff6f8ac1
ui.js 6.95 KB