Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 2907463003: Remove window.status plumbing, it's unused and the spec says it's a dummy (Closed)
Patch Set: Drop accidental change Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698