diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-06 20:09:34 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-06 20:09:34 +0000 |
commit | e87756663c751faea164d8deddbfccbfbbb1cfca (patch) | |
tree | 269ac3d28f509b63046674aa1c1204288bf2292b /chrome/renderer/render_widget_unittest.cc | |
parent | 120671afa85fa5bcbe689c5078d0eeb6449b3b6d (diff) | |
download | chromium_src-e87756663c751faea164d8deddbfccbfbbb1cfca.zip chromium_src-e87756663c751faea164d8deddbfccbfbbb1cfca.tar.gz chromium_src-e87756663c751faea164d8deddbfccbfbbb1cfca.tar.bz2 |
Reverting the autofill popu CL as it creates perf regression.
TBR=nsylvain
Review URL: http://codereview.chromium.org/9460
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget_unittest.cc')
-rw-r--r-- | chrome/renderer/render_widget_unittest.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/renderer/render_widget_unittest.cc b/chrome/renderer/render_widget_unittest.cc index f280aa7..086f8bf 100644 --- a/chrome/renderer/render_widget_unittest.cc +++ b/chrome/renderer/render_widget_unittest.cc @@ -114,9 +114,7 @@ class MockRenderThread : public RenderThreadBase { } // The Widget expects to be returned valid route_id. - void OnMsgCreateWidget(int opener_id, - bool focus_on_show, - int* route_id) { + void OnMsgCreateWidget(int opener_id, int* route_id) { opener_id_ = opener_id; *route_id = routing_id_; } @@ -143,7 +141,7 @@ TEST(RenderWidgetTest, CreateAndCloseWidget) { { scoped_refptr<RenderWidget> rw = - RenderWidget::Create(kOpenerId, &render_thread, true); + RenderWidget::Create(kOpenerId, &render_thread); ASSERT_TRUE(rw != NULL); // After the RenderWidget it must have sent a message to the render thread |