| Index: chrome/browser/android/shortcut_helper.cc
|
| diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
|
| index f2cc790530a1011f21b97e9f609d5b9f5ca52143..0cdf37182af77965448b77cdc2d369a1bf17dd80 100644
|
| --- a/chrome/browser/android/shortcut_helper.cc
|
| +++ b/chrome/browser/android/shortcut_helper.cc
|
| @@ -24,10 +24,14 @@
|
| using content::Manifest;
|
|
|
| jlong Initialize(JNIEnv* env, jobject obj, jobject java_web_contents) {
|
| +#if !defined(USE_AURA)
|
| content::WebContents* web_contents =
|
| content::WebContents::FromJavaWebContents(java_web_contents);
|
| ShortcutHelper* shortcut_helper = new ShortcutHelper(env, obj, web_contents);
|
| return reinterpret_cast<intptr_t>(shortcut_helper);
|
| +#else
|
| + return reinterpret_cast<intptr_t>(1);
|
| +#endif
|
| }
|
|
|
| ShortcutHelper::ShortcutHelper(JNIEnv* env,
|
|
|