Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
index aeca926d2d7fbf2679f3cd0a5cf975906af0f92c..2fcad36ceeb0854649fd6a72fef93aa35ab82635 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -1123,28 +1123,10 @@ void LocalDOMWindow::setName(const AtomicString& name) { |
void LocalDOMWindow::setStatus(const String& string) { |
status_ = string; |
- |
- if (!GetFrame()) |
- return; |
- |
- Page* page = GetFrame()->GetPage(); |
- if (!page) |
- return; |
- |
- page->GetChromeClient().SetStatusbarText(status_); |
} |
void LocalDOMWindow::setDefaultStatus(const String& string) { |
default_status_ = string; |
- |
- if (!GetFrame()) |
- return; |
- |
- Page* page = GetFrame()->GetPage(); |
- if (!page) |
- return; |
- |
- page->GetChromeClient().SetStatusbarText(default_status_); |
} |
String LocalDOMWindow::origin() const { |