Commit dba26b4f authored by Demetrios Papadopoulos's avatar Demetrios Papadopoulos Committed by Commit Bot

WebUI: Remove handling of cr.exportPath() lines in polymer.py.

cr.exportPath() is no longer used, and therefore does not need to
be handled by polymer.py.

Bug: 1028829
Change-Id: I6113a4f5feb94f8e17217cad279e2cab214c3c20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025868
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736127}
parent 60124c14
...@@ -357,11 +357,6 @@ def _process_dom_module(js_file, html_file): ...@@ -357,11 +357,6 @@ def _process_dom_module(js_file, html_file):
line = line.replace(EXPORT_LINE_REGEX, 'export') line = line.replace(EXPORT_LINE_REGEX, 'export')
# TODO(crbug.com/1028829): remove this line when cr.exportPath() is removed
# from --chrome_pass.
if line.startswith('cr.exportPath('):
line = ''
if re.match(CR_DEFINE_END_REGEX, line): if re.match(CR_DEFINE_END_REGEX, line):
assert cr_define_found, 'Found cr_define_end without cr.define()' assert cr_define_found, 'Found cr_define_end without cr.define()'
cr_define_end_line = i cr_define_end_line = i
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment