Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1472)

Unified Diff: cc/resources/picture.h

Issue 160023002: cc: Only make num_threads - 1 SkPicture clones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 441c5404d037a24231126b14550a8f27b51554f7..4012842e00a1ca485cc26b2fc092d1d591e50470 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -57,8 +57,7 @@ class CC_EXPORT Picture
gfx::Rect OpaqueRect() const { return opaque_rect_; }
// Get thread-safe clone for rasterizing with on a specific thread.
- scoped_refptr<Picture> GetCloneForDrawingOnThread(
- unsigned thread_index) const;
+ Picture* GetCloneForDrawingOnThread(unsigned thread_index);
// Has Record() been called yet?
bool HasRecording() const { return picture_.get() != NULL; }

Powered by Google App Engine
This is Rietveld 408576698