Index: public/platform/WebLayer.h |
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h |
index dd84083d215b141f253b11a6c574622eb7ab8437..e467c14f304d485f985fde99e323c0be40c3aee5 100644 |
--- a/public/platform/WebLayer.h |
+++ b/public/platform/WebLayer.h |
@@ -143,6 +143,8 @@ public: |
virtual void setAnimationDelegate(WebAnimationDelegate*) = 0; |
// Returns false if the animation cannot be added. |
+ // After it, the given WebAnimation object is invalid because it passes |
+ // the ownership of internal structure of WebAnimation to Chromium. |
jamesr
2013/09/20 18:52:14
I would simplify this to "The WebLayer takes owner
dshwang
2013/09/20 19:03:58
It is because now we does pass ownership of the We
|
virtual bool addAnimation(WebAnimation*) = 0; |
// Removes all animations with the given id. |