summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 20:13:43 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 20:13:43 +0000
commit4db0d163d209312a7e1200bffa1a984ccfcaa6ad (patch)
tree7d0b80ea78c37a5c9f37f484a0bd2fcfd7aaf0de /content
parent4cadfe302bd3b36c5d230975a7eeb9bf7382aa11 (diff)
downloadchromium_src-4db0d163d209312a7e1200bffa1a984ccfcaa6ad.zip
chromium_src-4db0d163d209312a7e1200bffa1a984ccfcaa6ad.tar.gz
chromium_src-4db0d163d209312a7e1200bffa1a984ccfcaa6ad.tar.bz2
Refactor Autofill metrics logging to avoid calling into GetPossibleFieldTypes() redundantly.
BUG=75862 TEST=manual: Add *lots* of autofill addresses and submit a form; note that the browser hang is reduced Review URL: http://codereview.chromium.org/6685028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/tab_contents/tab_contents_observer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/tab_contents/tab_contents_observer.h b/content/browser/tab_contents/tab_contents_observer.h
index d03bcec..36b9f40 100644
--- a/content/browser/tab_contents/tab_contents_observer.h
+++ b/content/browser/tab_contents/tab_contents_observer.h
@@ -57,8 +57,8 @@ class TabContentsObserver : public IPC::Channel::Listener {
// IPC::Message::Sender implementation.
virtual bool Send(IPC::Message* message);
- TabContents* tab_contents() { return tab_contents_; }
- int routing_id() { return routing_id_; }
+ TabContents* tab_contents() const { return tab_contents_; }
+ int routing_id() const { return routing_id_; }
private:
friend class TabContents;