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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 10914207: Moving from from using WebFrame::name to WebFrame::uniqueName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « content/shell/webkit_test_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_webview_delegate.cc
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 5d76ab2f3226b6e7f0e13fa05c85358216f0af80..22407730049d4ae64f2715bd7a62acd2d4511d05 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -732,7 +732,7 @@ void TestWebViewDelegate::unableToImplementPolicyWithError(
std::string domain = error.domain.utf8();
printf("Policy delegate: unable to implement policy with error domain '%s', "
"error code %d, in frame '%s'\n",
- domain.data(), error.reason, frame->name().utf8().data());
+ domain.data(), error.reason, frame->uniqueName().utf8().data());
}
void TestWebViewDelegate::willPerformClientRedirect(
@@ -1117,7 +1117,7 @@ void TestWebViewDelegate::UpdateSessionHistory(WebFrame* frame) {
}
string16 TestWebViewDelegate::GetFrameDescription(WebFrame* webframe) {
- std::string name = UTF16ToUTF8(webframe->name());
+ std::string name = UTF16ToUTF8(webframe->uniqueName());
if (webframe == shell_->webView()->mainFrame()) {
if (name.length())
« no previous file with comments | « content/shell/webkit_test_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698