summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.cc
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 23:50:12 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 23:50:12 +0000
commitd42846afcee7ad387d2c5cfb56378a76a68f7561 (patch)
treee7b1e6be059ec746101492adcb6fa98853093d31 /webkit/glue/webkit_glue.cc
parent05a9baf1579ee7a2bab1d914d14c494e7e211eda (diff)
downloadchromium_src-d42846afcee7ad387d2c5cfb56378a76a68f7561.zip
chromium_src-d42846afcee7ad387d2c5cfb56378a76a68f7561.tar.gz
chromium_src-d42846afcee7ad387d2c5cfb56378a76a68f7561.tar.bz2
Remove only use of clearName()
Now that WebFrame::setName() exists, we don't need clearName() any more. Remove the only use of the clearName() API in preparation of removing it upstream. Review URL: http://codereview.chromium.org/2868012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.cc')
-rw-r--r--webkit/glue/webkit_glue.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 11a9369..e6b0f75 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -245,7 +245,7 @@ void ResetBeforeTestRun(WebView* view) {
// Reset the main frame name since tests always expect it to be empty. It
// is normally not reset between page loads (even in IE and FF).
if (web_frame)
- web_frame->clearName();
+ web_frame->setName(WebString());
#if defined(OS_WIN)
// Reset the last click information so the clicks generated from previous