|
WebView: RegisterNativesImpl() returns bool; don't compare it for >= 0.
A recent version of Clang warns about this:
../../android_webview/native/java_browser_view_renderer_helper.cc:133:35: error: comparison of constant 0 with expression of type 'bool' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
return RegisterNativesImpl(env) >= 0;
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
BUG= 363667
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264168
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+12 lines, -12 lines) |
Patch |
 |
M |
android_webview/native/aw_autofill_manager_delegate.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_contents.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_contents_client_bridge.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_form_database.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_http_auth_handler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_pdf_exporter.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_picture.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_quota_manager_bridge_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_resource.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_settings.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/external_video_surface_container_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/java_browser_view_renderer_helper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|