summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/tab_base_android_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/android/tab_base_android_impl.cc')
-rw-r--r--chrome/browser/android/tab_base_android_impl.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/android/tab_base_android_impl.cc b/chrome/browser/android/tab_base_android_impl.cc
index 9439ea8..b2f639d 100644
--- a/chrome/browser/android/tab_base_android_impl.cc
+++ b/chrome/browser/android/tab_base_android_impl.cc
@@ -13,8 +13,6 @@
#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
#include "jni/TabBase_jni.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSupport.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
#include "ui/gfx/android/window_android.h"
@@ -60,9 +58,8 @@ TabBaseAndroidImpl::TabBaseAndroidImpl(JNIEnv* env,
jobject obj,
WebContents* web_contents,
WindowAndroid* window_android)
- : web_contents_(web_contents) {
- tab_layer_.reset(
- WebKit::Platform::current()->compositorSupport()->createLayer());
+ : web_contents_(web_contents),
+ tab_layer_(WebKit::WebLayer::create()) {
InitTabHelpers(web_contents);
WindowAndroidHelper::FromWebContents(web_contents)->
SetWindowAndroid(window_android);