Chromium Code Reviews

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

Issue 1635873003: Replicating WebFrame::uniqueName across renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dump-render-tree3
Patch Set: Rebasing... Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 72bbf9c732205e5ad955cd4e7da23706161dcb77..afca6ec6bc77a28208158b024a6935858bdab407 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -1024,7 +1024,7 @@ void LocalDOMWindow::setName(const AtomicString& name)
frame()->tree().setName(name);
ASSERT(frame()->loader().client());
- frame()->loader().client()->didChangeName(name);
+ frame()->loader().client()->didChangeName(name, frame()->tree().uniqueName());
}
void LocalDOMWindow::setStatus(const String& string)

Powered by Google App Engine