| Index: content/public/browser/android/content_view_core.h
|
| diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h
|
| index f0b439b2507ea71d40882d604d490de972a3efcd..605813bae22f36d1af4145e171d5adb17d46f287 100644
|
| --- a/content/public/browser/android/content_view_core.h
|
| +++ b/content/public/browser/android/content_view_core.h
|
| @@ -22,11 +22,10 @@ class WebContents;
|
| // public interface used by native code outside of the content module.
|
| class ContentViewCore {
|
| public:
|
| - static ContentViewCore* Create(
|
| - JNIEnv* env, jobject obj, WebContents* web_contents);
|
| + // Returns the existing ContentViewCore for |web_contents|, or NULL.
|
| + static ContentViewCore* FromWebContents(WebContents* web_contents);
|
| static ContentViewCore* GetNativeContentViewCore(JNIEnv* env, jobject obj);
|
|
|
| - virtual void Destroy(JNIEnv* env, jobject obj) = 0;
|
| virtual WebContents* GetWebContents() const = 0;
|
| virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
|
| virtual ui::WindowAndroid* GetWindowAndroid() = 0;
|
|
|