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

Unified Diff: webkit/glue/webkit_glue.cc

Issue 10879105: Moving Chrome code from using WebFrame::name to WebFrame::uniqueName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing nit by jam@. Created 8 years, 4 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
« no previous file with comments | « chrome/renderer/frame_sniffer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.cc
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 3ec193a04b2ba1a353c57c9a881fffdd70e5b9fe..36584d1f4c16a50b96a230d732d4216a6cbc5589 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -119,7 +119,7 @@ string16 DumpFramesAsText(WebFrame* web_frame, bool recursive) {
if (web_frame->parent() &&
!web_frame->document().documentElement().isNull()) {
result.append(ASCIIToUTF16("\n--------\nFrame: '"));
- result.append(web_frame->name());
+ result.append(web_frame->uniqueName());
result.append(ASCIIToUTF16("'\n--------\n"));
}
@@ -162,7 +162,7 @@ string16 DumpFrameScrollPosition(WebFrame* web_frame, bool recursive) {
if (offset.width() > 0 || offset.height() > 0) {
if (web_frame->parent()) {
base::StringAppendF(&result_utf8, "frame '%s' ",
- UTF16ToUTF8(web_frame->name()).c_str());
+ UTF16ToUTF8(web_frame->uniqueName()).c_str());
}
base::StringAppendF(&result_utf8, "scrolled to %d,%d\n",
offset.width(), offset.height());
« no previous file with comments | « chrome/renderer/frame_sniffer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698