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

Issue 11469015: Renderer process can allocate anonymous shared memory without help from browser process on Windows. (Closed)

Created:
8 years ago by apatrick_chromium
Modified:
8 years ago
Reviewers:
Lei Zhang, jamesr, Jói
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Renderer process can allocate anonymous shared memory without help from browser process on Windows. The browser process IO thread can be busy at startup time. This saves about 20ms to allocate the first command buffer. Refactored so PepperPluginDelegateImpl and PrintWebViewHelper use the same function to allocate shared memory. BUG=163215 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172748

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -68 lines) Patch
M chrome/renderer/print_web_view_helper.cc View 1 2 3 4 5 1 chunk +9 lines, -8 lines 0 comments Download
M chrome/renderer/print_web_view_helper_linux.cc View 1 2 3 4 5 1 chunk +12 lines, -12 lines 0 comments Download
M content/public/renderer/render_thread.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/test/mock_render_thread.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/mock_render_thread.cc View 1 2 3 4 5 1 chunk +8 lines, -8 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 1 chunk +1 line, -13 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 2 chunks +33 lines, -23 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
apatrick_chromium
8 years ago (2012-12-06 22:27:07 UTC) #1
jamesr
It looks like ui/surface/transport_dib_win.cc already has this opt https://codereview.chromium.org/11469015/diff/1/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/11469015/diff/1/content/renderer/render_thread_impl.cc#newcode899 content/renderer/render_thread_impl.cc:899: if ...
8 years ago (2012-12-06 22:31:12 UTC) #2
apatrick_chromium
Refactored to reduce redundancy +joi for content/public
8 years ago (2012-12-07 01:43:07 UTC) #3
jamesr
lgtm
8 years ago (2012-12-07 01:52:36 UTC) #4
Jói
LGTM for content/public.
8 years ago (2012-12-07 09:38:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apatrick@chromium.org/11469015/15001
8 years ago (2012-12-11 23:59:36 UTC) #6
commit-bot: I haz the power
Presubmit check for 11469015-15001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-11 23:59:41 UTC) #7
apatrick_chromium
Oops. Misread chrome/renderer as content/renderer. +thestig for chrome owners.
8 years ago (2012-12-12 00:30:18 UTC) #8
Lei Zhang
chrome/renderer lgtm
8 years ago (2012-12-12 00:37:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apatrick@chromium.org/11469015/15001
8 years ago (2012-12-12 00:49:40 UTC) #10
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years ago (2012-12-12 02:22:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apatrick@chromium.org/11469015/41001
8 years ago (2012-12-12 02:48:20 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years ago (2012-12-12 02:57:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apatrick@chromium.org/11469015/37006
8 years ago (2012-12-12 19:31:13 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests
8 years ago (2012-12-12 21:41:10 UTC) #15
commit-bot: I haz the power
8 years ago (2012-12-12 21:59:11 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698