Commit 8605ee1f authored by Nico Weber's avatar Nico Weber

Enable -Wextra-semi in iOS builds.

Bug: 926235
Change-Id: I1c9f46a30392258e553a51d1033fde4d41e04210
Reviewed-on: https://chromium-review.googlesource.com/c/1489180
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#635612}
parent c8c218ce
...@@ -1590,7 +1590,8 @@ config("chromium_code") { ...@@ -1590,7 +1590,8 @@ config("chromium_code") {
# TODO(thakis): Enable this for more platforms, https://crbug.com/926235 # TODO(thakis): Enable this for more platforms, https://crbug.com/926235
has_dchecks = is_debug || dcheck_always_on has_dchecks = is_debug || dcheck_always_on
if (has_dchecks && (is_android || (is_linux && !use_libfuzzer) || is_mac)) { if (has_dchecks &&
(is_android || is_ios || (is_linux && !use_libfuzzer) || is_mac)) {
cflags += [ "-Wextra-semi" ] cflags += [ "-Wextra-semi" ]
} }
} }
......
...@@ -44,7 +44,7 @@ class SideSwipeControllerTest : public PlatformTest { ...@@ -44,7 +44,7 @@ class SideSwipeControllerTest : public PlatformTest {
view_ = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 240)]; view_ = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 240)];
[side_swipe_controller_ addHorizontalGesturesToView:view_]; [side_swipe_controller_ addHorizontalGesturesToView:view_];
}; }
web::TestWebThreadBundle thread_bundle_; web::TestWebThreadBundle thread_bundle_;
std::unique_ptr<TestChromeBrowserState> browser_state_; std::unique_ptr<TestChromeBrowserState> browser_state_;
......
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