| Index: components/bubble/bubble_controller.cc
|
| diff --git a/components/bubble/bubble_controller.cc b/components/bubble/bubble_controller.cc
|
| index 8deeaa723fefa3a13599faa5f260086b905449e5..86001d20290cd44137b0ad36e97c0c6237ffb906 100644
|
| --- a/components/bubble/bubble_controller.cc
|
| +++ b/components/bubble/bubble_controller.cc
|
| @@ -60,6 +60,12 @@ bool BubbleController::ShouldClose(BubbleCloseReason reason) const {
|
| return delegate_->ShouldClose(reason) || reason == BUBBLE_CLOSE_FORCED;
|
| }
|
|
|
| +bool BubbleController::OwningFrameIs(
|
| + const content::RenderFrameHost* frame) const {
|
| + DCHECK(bubble_ui_);
|
| + return delegate_->OwningFrame() == frame;
|
| +}
|
| +
|
| void BubbleController::DoClose() {
|
| DCHECK(bubble_ui_);
|
| bubble_ui_->Close();
|
|
|