Do not show search icon on preview pages

The search icon is showing up in a few edge cases when a preview is
done on the SRP.
See bug for more context.

Bug: 926938
Change-Id: I630758bc7525d0a34832ddb020ea3fe46766715f
Reviewed-on: https://chromium-review.googlesource.com/c/1446554
Reviewed-by: Theresa <twellington@chromium.org>
Commit-Queue: Robert Ogden <robertogden@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#628037}(cherry picked from commit 2206189260e792f7338e6240416b25d0a94a13a3)
Reviewed-on: https://chromium-review.googlesource.com/c/1451124
Reviewed-by: Robert Ogden <robertogden@chromium.org>
Cr-Commit-Position: refs/branch-heads/3683@{#144}
Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/LocationBarModel.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/LocationBarModel.java
index 434abc7..2af807a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/LocationBarModel.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/LocationBarModel.java
@@ -427,7 +427,7 @@
 
     @Override
     public boolean shouldDisplaySearchTerms() {
-        return getDisplaySearchTerms() != null;
+        return getDisplaySearchTerms() != null && !isPreview();
     }
 
     /**