summaryrefslogtreecommitdiffstats
path: root/cc/layers/layer.cc
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 03:00:05 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 03:00:05 +0000
commitf7837a9849013df6c3ebad1327aadf3a74fbd8ab (patch)
treec37c97dc018ac031362e506724e8c026097b5123 /cc/layers/layer.cc
parent9f2bdf1238623ac4feae8f468e79f8ef2d6d7b43 (diff)
downloadchromium_src-f7837a9849013df6c3ebad1327aadf3a74fbd8ab.zip
chromium_src-f7837a9849013df6c3ebad1327aadf3a74fbd8ab.tar.gz
chromium_src-f7837a9849013df6c3ebad1327aadf3a74fbd8ab.tar.bz2
Implemented printToSkPicture without using WebViewBenchmarkSupport.
The new implementation grabs the compositor layer-tree and recursively paints each layer into an SkPicture. Nothing should change functionally. It is just moving the implementation from WebKit side to Chrome side. Once this patch lands, WebViewBenchmarkSupport can be deleted. BUG=168460 Review URL: https://chromiumcodereview.appspot.com/23049007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/layer.cc')
-rw-r--r--cc/layers/layer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 0448fdd..62d903e 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -195,6 +195,10 @@ bool Layer::BlocksPendingCommit() const {
return false;
}
+skia::RefPtr<SkPicture> Layer::GetPicture() const {
+ return skia::RefPtr<SkPicture>();
+}
+
bool Layer::CanClipSelf() const {
return false;
}