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

Unified Diff: content/public/test/mock_render_thread.cc

Issue 281663002: Create RenderFrameProxyHost at time of swap-out instead of commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix accessibility test. Created 6 years, 7 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
Index: content/public/test/mock_render_thread.cc
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
index f14a5576535f530f35bb8b64979895e770d5139f..67219b66e2153f244e7297d1b2b1fbbae52cc3db 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -220,7 +220,7 @@ void MockRenderThread::OnCreateWindow(
void MockRenderThread::OnCreateChildFrame(int new_frame_routing_id,
const std::string& frame_name,
int* new_render_frame_id) {
- *new_render_frame_id = new_frame_routing_id_;
+ *new_render_frame_id = new_frame_routing_id_++;
}
bool MockRenderThread::OnControlMessageReceived(const IPC::Message& msg) {

Powered by Google App Engine
This is Rietveld 408576698