| Index: chrome/browser/android/contextualsearch/contextual_search_manager.cc
|
| diff --git a/chrome/browser/android/contextualsearch/contextual_search_manager.cc b/chrome/browser/android/contextualsearch/contextual_search_manager.cc
|
| index 6ee66b6ff01ed7e522543f03d90c52116c802df3..fb2dc909d2098610191e3d38f1afc6d782e0530b 100644
|
| --- a/chrome/browser/android/contextualsearch/contextual_search_manager.cc
|
| +++ b/chrome/browser/android/contextualsearch/contextual_search_manager.cc
|
| @@ -244,6 +244,7 @@ void ContextualSearchManager::SetInterceptNavigationDelegate(
|
| jobject obj,
|
| jobject delegate,
|
| jobject jweb_contents) {
|
| +#if !defined(USE_AURA)
|
| content::WebContents* web_contents =
|
| content::WebContents::FromJavaWebContents(jweb_contents);
|
| DCHECK(web_contents);
|
| @@ -251,6 +252,7 @@ void ContextualSearchManager::SetInterceptNavigationDelegate(
|
| web_contents,
|
| make_scoped_ptr(new navigation_interception::InterceptNavigationDelegate(
|
| env, delegate)));
|
| +#endif
|
| }
|
|
|
| bool RegisterContextualSearchManager(JNIEnv* env) {
|
|
|