summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 22:43:56 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 22:43:56 +0000
commit0182232cfb9425caab261ddd470e2fe3c6f94193 (patch)
tree5a764eb12bb90529eab798a6539f7cb2d126debf /chrome/renderer
parent83f2a8a62298f97b0b8b7ccfb02da26d8abcf96e (diff)
downloadchromium_src-0182232cfb9425caab261ddd470e2fe3c6f94193.zip
chromium_src-0182232cfb9425caab261ddd470e2fe3c6f94193.tar.gz
chromium_src-0182232cfb9425caab261ddd470e2fe3c6f94193.tar.bz2
We need to initialize last_top_level_navigation_page_id_ in the constructor of RenderView. This broke
probably as a result of a merging error in CL 23589 causing automation clients to enter a recursive Navigation loop. TBR=joshia,jorlow Review URL: http://codereview.chromium.org/174026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/render_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 59523a6..9efe2a3 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -205,6 +205,7 @@ RenderView::RenderView(RenderThreadBase* render_thread,
determine_page_text_after_loading_stops_(false),
view_type_(ViewType::INVALID),
browser_window_id_(-1),
+ last_top_level_navigation_page_id_(-1),
webkit_preferences_(webkit_preferences) {
Singleton<RenderViewSet>()->render_view_set_.insert(this);
}