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

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 IPC_BEGIN_MESSAGE_MAP macro, as _EX version doesn't exist anymore. 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42034e57783a8e662a368a958cb87a5e519bb2ef..0d1b0bcb6f3f9457f3db202b69475ebcbf1974e6 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) {
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698