Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java

Issue 1648713002: Replace assert by explicit throw new AssertionError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java
diff --git a/base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java b/base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java
index d0ab312715aa6d5448c841a188c4563198cac3f1..64a6c5750fcc05f133ada2683c5fa26a88ff3a07 100644
--- a/base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java
+++ b/base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java
@@ -113,8 +113,8 @@ class LegacyLinker extends Linker {
mBrowserUsesSharedRelro = true;
break;
default:
- assert false : "Unreached";
- break;
+ Log.wtf(TAG, "FATAL: illegal shared RELRO config");
+ throw new AssertionError();
}
mInitialized = true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698