From 90ef829b3ebc2caca06ffb46dd587cca71456480 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Wed, 30 May 2012 12:38:52 -0700 Subject: Draw entire layer tree in capturePicture() Also fixes matrix initialization in BaseLayerAndroid::getLocalTransform() bug:6389297 Change-Id: I6a3df3de129aa263986c5082614d8d76bc7408f7 --- Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/WebCore/platform') diff --git a/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.cpp index f03a140..5021c57 100644 --- a/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.cpp @@ -60,6 +60,7 @@ BaseLayerAndroid::BaseLayerAndroid(LayerContent* content) void BaseLayerAndroid::getLocalTransform(SkMatrix* matrix) const { + matrix->reset(); // base layer doesn't use size in transform calculation matrix->preConcat(getMatrix()); } -- cgit v1.1