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 288cdb578c7edb7b824c5749cf9cd76292411809..7a3c342ea8a500332ebd47abd108f5036d20683e 100644 |
--- a/content/public/browser/android/content_view_core.h |
+++ b/content/public/browser/android/content_view_core.h |
@@ -10,6 +10,10 @@ |
#include "content/public/browser/navigation_controller.h" |
+namespace cc { |
+class Layer; |
+} |
+ |
namespace gfx { |
class Size; |
} |
@@ -18,10 +22,6 @@ namespace ui { |
class WindowAndroid; |
} |
-namespace WebKit { |
-class WebLayer; |
-} |
- |
namespace content { |
class WebContents; |
@@ -39,7 +39,7 @@ class ContentViewCore { |
virtual base::android::ScopedJavaLocalRef<jobject> GetContainerViewDelegate() |
= 0; |
virtual ui::WindowAndroid* GetWindowAndroid() const = 0; |
- virtual WebKit::WebLayer* GetWebLayer() const = 0; |
+ virtual scoped_refptr<cc::Layer> GetLayer() const = 0; |
virtual void LoadUrl(NavigationController::LoadURLParams& params) = 0; |
virtual void OnWebPreferencesUpdated() = 0; |
virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0; |