Index: components/bubble/bubble_delegate.h |
diff --git a/components/bubble/bubble_delegate.h b/components/bubble/bubble_delegate.h |
index d1f07e952902878665510f224328a53c2e5084fa..0983e471c6e4b855fe06c6c486a89e634850c804 100644 |
--- a/components/bubble/bubble_delegate.h |
+++ b/components/bubble/bubble_delegate.h |
@@ -23,7 +23,8 @@ class BubbleDelegate { |
// Called by BubbleController to notify a bubble of an event that the bubble |
// might want to close on. Return true if the bubble should close for the |
- // specified reason. |
+ // specified reason. If you return false, be sure not to reference frames that |
+ // are destroyed before the bubble. |
hcarmona
2016/01/11 19:07:22
I'm not 100% happy with this comment because it se
|
virtual bool ShouldClose(BubbleCloseReason reason) const; |
// Called by BubbleController to notify a bubble that it has closed. |