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

Issue 1111893003: Plugin Power Saver: Fix double-counting NEVER case in LoadablePluginPlaceholder. (Closed)

Created:
5 years, 7 months ago by tommycli
Modified:
5 years, 7 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plugin Power Saver: Fix double-counting NEVER case in LoadablePluginPlaceholder. Also: - Remove some redundant bool variables from LoadablePluginPlaceholder. - Remove LoadablePluginPlaceholder observing the throttler. (No longer necessary). BUG=482205 Committed: https://crrev.com/fd2d6d70942f4a64845022066098622809c189e9 Cr-Commit-Position: refs/heads/master@{#327572}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : add a correction #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -52 lines) Patch
M components/plugins/renderer/loadable_plugin_placeholder.h View 4 chunks +6 lines, -16 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.cc View 1 2 3 8 chunks +22 lines, -36 lines 3 comments Download

Messages

Total messages: 12 (2 generated)
tommycli
bauerb: PTAL. This one has negative net SLOC. I think my logic is correct, and ...
5 years, 7 months ago (2015-04-28 23:16:35 UTC) #2
tommycli
One more thing: All these #if defined(ENABLE_PLUGINS) statements make me feel like if ENABLE_PLUGINS==0, we ...
5 years, 7 months ago (2015-04-28 23:28:27 UTC) #3
Bernhard Bauer
On 2015/04/28 23:28:27, tommycli wrote: > One more thing: > > All these #if defined(ENABLE_PLUGINS) ...
5 years, 7 months ago (2015-04-29 10:46:00 UTC) #4
tommycli
https://codereview.chromium.org/1111893003/diff/60001/components/plugins/renderer/loadable_plugin_placeholder.cc File components/plugins/renderer/loadable_plugin_placeholder.cc (right): https://codereview.chromium.org/1111893003/diff/60001/components/plugins/renderer/loadable_plugin_placeholder.cc#newcode216 components/plugins/renderer/loadable_plugin_placeholder.cc:216: if (power_saver_enabled_) { On 2015/04/29 10:46:00, Bernhard Bauer wrote: ...
5 years, 7 months ago (2015-04-29 18:17:28 UTC) #5
tommycli
Regarding the ENABLE_PLUGINS cleanup: Perhaps it would be best if we used the Shadow DOM ...
5 years, 7 months ago (2015-04-29 18:18:43 UTC) #6
Bernhard Bauer
On 2015/04/29 18:18:43, tommycli wrote: > Regarding the ENABLE_PLUGINS cleanup: Perhaps it would be best ...
5 years, 7 months ago (2015-04-29 18:53:26 UTC) #7
jbroman
On 2015/04/29 18:53:26, Bernhard Bauer wrote: > On 2015/04/29 18:18:43, tommycli wrote: > > Regarding ...
5 years, 7 months ago (2015-04-29 19:02:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1111893003/60001
5 years, 7 months ago (2015-04-29 20:04:33 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-04-29 21:41:33 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 21:42:36 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fd2d6d70942f4a64845022066098622809c189e9
Cr-Commit-Position: refs/heads/master@{#327572}

Powered by Google App Engine
This is Rietveld 408576698