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

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: Addressed CR feedback from Charlie. Created 4 years, 10 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 af33c13e628d75502acb4e070440278670413e28..97f2e27d9c76663a98737abd3c42bec61d27409c 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -1017,7 +1017,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
This is Rietveld 408576698