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

Issue 751043002: Refactor RenderView creation to use ViewMsg_New_Params. (Closed)

Created:
6 years ago by nasko
Modified:
6 years ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Refactor RenderView creation to use ViewMsg_New_Params. Using a RenderViewImplParams struct to create RenderViewImpl objects was introduced in crrev.com/167341. It doesn't look necessary anymore, so I'm removing it as it adds an unnecessary step of converting one struct to another identicial one. BUG=357747 TEST=Layout tests and content_browsertests should still work. TBR=jochen@chromium.org Committed: https://crrev.com/bd91133930a1f13f3b2453d4a4f04cfdcab09210 Cr-Commit-Position: refs/heads/master@{#305545}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Fixes based on Charlie's review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -281 lines) Patch
M content/content_renderer.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 1 chunk +21 lines, -21 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 1 chunk +1 line, -19 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 3 chunks +7 lines, -22 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 10 chunks +59 lines, -92 lines 0 comments Download
D content/renderer/render_view_impl_params.h View 1 chunk +0 lines, -71 lines 0 comments Download
D content/renderer/render_view_impl_params.cc View 1 chunk +0 lines, -51 lines 0 comments Download
M content/test/layouttest_support.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
nasko
Hey Charlie, Can you review this CL for me? Thanks in advance! Nasko
6 years ago (2014-11-24 19:02:28 UTC) #3
Charlie Reis
[+jochen for the TBR line] LGTM, since this seems like an improvement and I don't ...
6 years ago (2014-11-24 23:28:21 UTC) #5
nasko
https://codereview.chromium.org/751043002/diff/20001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/751043002/diff/20001/content/renderer/render_view_impl.h#newcode169 content/renderer/render_view_impl.h:169: const ViewMsg_New_Params& params); On 2014/11/24 23:28:21, Charlie Reis wrote: ...
6 years ago (2014-11-24 23:47:55 UTC) #6
Charlie Reis
LGTM
6 years ago (2014-11-24 23:53:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/751043002/40001
6 years ago (2014-11-24 23:54:24 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
6 years ago (2014-11-25 01:13:49 UTC) #10
commit-bot: I haz the power
6 years ago (2014-11-25 01:14:34 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bd91133930a1f13f3b2453d4a4f04cfdcab09210
Cr-Commit-Position: refs/heads/master@{#305545}

Powered by Google App Engine
This is Rietveld 408576698