Chromium Code Reviews| Index: Source/web/WebFrame.cpp |
| diff --git a/Source/web/WebFrame.cpp b/Source/web/WebFrame.cpp |
| index 06be0452facc4effd9b160b23bc26ef5f219dcd8..62d8960918986b4871c7dfca6561e753754cecf4 100644 |
| --- a/Source/web/WebFrame.cpp |
| +++ b/Source/web/WebFrame.cpp |
| @@ -87,6 +87,11 @@ bool WebFrame::swap(WebFrame* frame) |
| return true; |
| } |
| +void WebFrame::detach() |
| +{ |
| + toCoreFrame(this)->detach(); |
| +} |
| + |
| WebFrame* WebFrame::opener() const |
| { |
| return m_opener; |