Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index cda64874f4effbc171dfaa1566bc0cb463567d9c..a0ea79fb0128b5e72d8f62f549b2761217f7655d 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -684,10 +684,11 @@ class WebContents : public PageNavigator, |
virtual void SuspendMediaSession() = 0; |
// Requests to stop the current media session. |
virtual void StopMediaSession() = 0; |
- |
+#if !defined(USE_AURA) |
CONTENT_EXPORT static WebContents* FromJavaWebContents( |
jobject jweb_contents_android); |
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0; |
+#endif // !USE_AURA |
#elif defined(OS_MACOSX) |
// Allowing other views disables optimizations which assume that only a single |
// WebContents is present. |