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

Unified Diff: cc/CCSharedQuadState.cpp

Issue 10917153: Update cc snapshot to r127918 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « cc/CCSharedQuadState.h ('k') | cc/CCSingleThreadProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSharedQuadState.cpp
diff --git a/cc/CCSharedQuadState.cpp b/cc/CCSharedQuadState.cpp
index 05a662209dbee4bdd424bc9ee6199592a37ddc91..a5cf6f0c8f4f5ad46d351a42e49e87b9d3133e1c 100644
--- a/cc/CCSharedQuadState.cpp
+++ b/cc/CCSharedQuadState.cpp
@@ -25,4 +25,11 @@ CCSharedQuadState::CCSharedQuadState(const WebKit::WebTransformationMatrix& quad
{
}
+PassOwnPtr<CCSharedQuadState> CCSharedQuadState::copy() const
+{
+ OwnPtr<CCSharedQuadState> copiedState(create(quadTransform, visibleContentRect, clippedRectInTarget, opacity, opaque));
+ copiedState->id = id;
+ return copiedState.release();
+}
+
}
« no previous file with comments | « cc/CCSharedQuadState.h ('k') | cc/CCSingleThreadProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698