diff options
author | Patrick Scott <phanna@android.com> | 2010-07-27 16:24:31 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2010-07-27 16:24:31 -0400 |
commit | 339423d653ae9562eaf33b6dc0f96ea6ad59972d (patch) | |
tree | cb67ceddacdb95050fb5058aa58c64c486a0b928 /WebCore/platform/graphics/android/LayerAndroid.cpp | |
parent | 767966411f0c19c445f74d2ff90ab9490c290026 (diff) | |
download | external_webkit-339423d653ae9562eaf33b6dc0f96ea6ad59972d.zip external_webkit-339423d653ae9562eaf33b6dc0f96ea6ad59972d.tar.gz external_webkit-339423d653ae9562eaf33b6dc0f96ea6ad59972d.tar.bz2 |
Fix focus rings by adding back in the SkPicture constructor.
Change-Id: I31e3786742f0ae05c9f6c8ab23b4dbd0c790dfc5
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/LayerAndroid.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp index b80171e..86400c2 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.cpp +++ b/WebCore/platform/graphics/android/LayerAndroid.cpp @@ -111,6 +111,27 @@ LayerAndroid::LayerAndroid(const LayerAndroid& layer) : SkLayer(layer), gDebugLayerAndroidInstances++; } +LayerAndroid::LayerAndroid(SkPicture* picture) : SkLayer(), + m_isRootLayer(true), + m_haveClip(false), + m_doRotation(false), + m_isFixed(false), + m_recordingPicture(picture), + m_foregroundPicture(0), + m_contentsImage(0), + m_extra(0), + m_uniqueId(-1) +{ + m_angleTransform = 0; + m_translation.set(0, 0); + m_scale.set(1, 1); + m_backgroundColor = 0; + m_foregroundClip.setEmpty(); + m_foregroundLocation.set(0, 0); + SkSafeRef(m_recordingPicture); + gDebugLayerAndroidInstances++; +} + LayerAndroid::~LayerAndroid() { removeChildren(); |