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

Issue 22411008: Fix scoped of closer for ACK for editor-related changes. (Closed)

Created:
7 years, 4 months ago by nyquist
Modified:
7 years, 4 months ago
Reviewers:
cjhopman, no sievers
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix scoped of closer for ACK for editor-related changes. Sending the ACK for for editor-related changes not originating from browser uses a ScopedClosureRunner. However, since this was defined within an if-block, the scope ended immediately. This changes it to have a scope of the whole method, and instead releasing it early if we are not supposed to send the ACK. BUG=145521, 230848, 172845, 248544, 235704 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216853

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed nit #

Patch Set 3 : Remove unecessary ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -7 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
nyquist
cjhopman: PTAL
7 years, 4 months ago (2013-08-09 00:16:40 UTC) #1
cjhopman
lgtm w/ nit https://codereview.chromium.org/22411008/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/22411008/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode411 content/browser/renderer_host/render_widget_host_view_android.cc:411: if (!params.require_ack) ack_caller.Release(); Nit: add a ...
7 years, 4 months ago (2013-08-09 00:20:35 UTC) #2
nyquist
sievers: PTAL for OWNERS
7 years, 4 months ago (2013-08-09 00:24:50 UTC) #3
no sievers
On 2013/08/09 00:24:50, nyquist wrote: > sievers: PTAL for OWNERS lgtm. remove the ifdef OS_ANDROID?
7 years, 4 months ago (2013-08-09 00:32:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22411008/6001
7 years, 4 months ago (2013-08-09 16:23:53 UTC) #5
nyquist
We might looking into doing this for other platforms later, but for now, this new ...
7 years, 4 months ago (2013-08-09 16:24:17 UTC) #6
no sievers
On 2013/08/09 16:24:17, nyquist wrote: > We might looking into doing this for other platforms ...
7 years, 4 months ago (2013-08-09 16:41:37 UTC) #7
nyquist
On 2013/08/09 16:41:37, sievers wrote: > On 2013/08/09 16:24:17, nyquist wrote: > > We might ...
7 years, 4 months ago (2013-08-09 18:05:28 UTC) #8
commit-bot: I haz the power
Failed to trigger a try job on win_rel HTTP Error 400: Bad Request
7 years, 4 months ago (2013-08-09 20:19:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22411008/32001
7 years, 4 months ago (2013-08-09 20:21:45 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186087
7 years, 4 months ago (2013-08-10 04:00:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22411008/32001
7 years, 4 months ago (2013-08-10 04:20:38 UTC) #12
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 14:20:09 UTC) #13
Message was sent while issue was closed.
Change committed as 216853

Powered by Google App Engine
This is Rietveld 408576698