summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.cpp')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index f323838..bb76c80 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -31,7 +31,6 @@
#include "AccessibilityObject.h"
#include "AndroidHitTestResult.h"
#include "Attribute.h"
-#include "BaseLayerAndroid.h"
#include "content/address_detector.h"
#include "Chrome.h"
#include "ChromeClientAndroid.h"
@@ -160,6 +159,8 @@ FILE* gDomTreeFile = 0;
FILE* gRenderTreeFile = 0;
#endif
+#include "BaseLayerAndroid.h"
+
#if USE(ACCELERATED_COMPOSITING)
#include "GraphicsLayerAndroid.h"
#include "RenderLayerCompositor.h"
@@ -861,10 +862,8 @@ void WebViewCore::notifyAnimationStarted()
BaseLayerAndroid* WebViewCore::createBaseLayer(SkRegion* region)
{
- BaseLayerAndroid* base = new BaseLayerAndroid();
-
PictureSetLayerContent* content = new PictureSetLayerContent(m_content);
- base->setContent(content);
+ BaseLayerAndroid* base = new BaseLayerAndroid(content);
SkSafeUnref(content);
m_skipContentDraw = true;