Commit dc977694 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Fix bug links that were swapped.

Bug: none
Change-Id: Id2f0923fbeeac975098ccb45678eddf10e18d80b
Reviewed-on: https://chromium-review.googlesource.com/1027791Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553542}
parent c40b3741
......@@ -32,11 +32,11 @@ def generate_gperf(gperf_path, gperf_input, gperf_args):
# TODO(thakis): Upstream these to gperf so we don't need massaging.
# `register` is deprecated in C++11 and removed in C++17, so remove
# it from gperf's output.
# https://savannah.gnu.org/bugs/index.php?53029
# https://savannah.gnu.org/bugs/index.php?53028
gperf_output = re.sub(r'\bregister ', '', gperf_output)
# -Wimplicit-fallthrough needs an explicit fallthrough statement,
# so replace gperf's /*FALLTHROUGH*/ comment with the statement.
# https://savannah.gnu.org/bugs/index.php?53028
# https://savannah.gnu.org/bugs/index.php?53029
gperf_output = gperf_output.replace('/*FALLTHROUGH*/', ' FALLTHROUGH;')
script = 'third_party/WebKit/Source/build/scripts/gperf.py'
return '// Generated by %s\n' % script + gperf_output
......
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