|
|
Chromium Code Reviews
Descriptionmus: aura::Env should be destroyed last in the mus client.
BUG=674803
Committed: https://crrev.com/2626c1919f27753ff20c855f4136f6414264c956
Cr-Commit-Position: refs/heads/master@{#440316}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #
Total comments: 4
Patch Set 5 : . #Patch Set 6 : . #
Messages
Total messages: 44 (32 generated)
The CQ bit was checked by sadrul@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...)
The CQ bit was checked by sadrul@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by sadrul@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by sadrul@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
sadrul@chromium.org changed reviewers: + msw@chromium.org
This CL also needs https://codereview.chromium.org/2596903002/ since we create the allocator for each test.
On 2016/12/21 17:43:52, sadrul wrote: > This CL also needs https://codereview.chromium.org/2596903002/ since we create > the allocator for each test. Sorry, wrong CL. This CL does not depend on the discardable-memory allocator fix.
rubber stamp lgtm with q and optional nit. https://codereview.chromium.org/2591863004/diff/60001/content/browser/browser... File content/browser/browser_main_loop.cc (left): https://codereview.chromium.org/2591863004/diff/60001/content/browser/browser... content/browser/browser_main_loop.cc:1210: env_.reset(); aura::Env doesn't have any deps on objects explicitly destroyed below? (probably hard to ascertain, keep an eye out for shutdown crashes?) https://codereview.chromium.org/2591863004/diff/60001/ui/aura/mus/focus_synch... File ui/aura/mus/focus_synchronizer.cc (right): https://codereview.chromium.org/2591863004/diff/60001/ui/aura/mus/focus_synch... ui/aura/mus/focus_synchronizer.cc:25: if (env_) { optional nit: don't cache Env::GetInstance, just call that in the ctor and dtor?
The CQ bit was checked by sadrul@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2591863004/diff/60001/content/browser/browser... File content/browser/browser_main_loop.cc (left): https://codereview.chromium.org/2591863004/diff/60001/content/browser/browser... content/browser/browser_main_loop.cc:1210: env_.reset(); On 2016/12/21 17:56:35, msw wrote: > aura::Env doesn't have any deps on objects explicitly destroyed below? > (probably hard to ascertain, keep an eye out for shutdown crashes?) Yep. I will keep an eye on it (the trybots seem happy though) https://codereview.chromium.org/2591863004/diff/60001/ui/aura/mus/focus_synch... File ui/aura/mus/focus_synchronizer.cc (right): https://codereview.chromium.org/2591863004/diff/60001/ui/aura/mus/focus_synch... ui/aura/mus/focus_synchronizer.cc:25: if (env_) { On 2016/12/21 17:56:35, msw wrote: > optional nit: don't cache Env::GetInstance, just call that in the ctor and dtor? Nice! Done. Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
sadrul@chromium.org changed reviewers: + ben@chromium.org
+ben@ for content/browser change.
lgtm
The CQ bit was checked by sadrul@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from msw@chromium.org Link to the patchset: https://codereview.chromium.org/2591863004/#ps80001 (title: ".")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for ui/views/mus/mus_client.cc:
While running git apply --index -p1;
error: patch failed: ui/views/mus/mus_client.cc:130
error: ui/views/mus/mus_client.cc: patch does not apply
Patch: ui/views/mus/mus_client.cc
Index: ui/views/mus/mus_client.cc
diff --git a/ui/views/mus/mus_client.cc b/ui/views/mus/mus_client.cc
index
575cf995b8154b842e0513fe5c0337ca123d2d7a..17f7d750eb2138192eb341ee1815782a988759b3
100644
--- a/ui/views/mus/mus_client.cc
+++ b/ui/views/mus/mus_client.cc
@@ -64,6 +64,7 @@ MusClient::MusClient(service_manager::Connector* connector,
bool create_wm_state)
: identity_(identity) {
DCHECK(!instance_);
+ DCHECK(aura::Env::GetInstance());
instance_ = this;
if (!io_task_runner) {
@@ -130,6 +131,7 @@ MusClient::~MusClient() {
DCHECK_EQ(instance_, this);
instance_ = nullptr;
+ DCHECK(aura::Env::GetInstance());
}
// static
The CQ bit was checked by sadrul@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by sadrul@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from msw@chromium.org, ben@chromium.org Link to the patchset: https://codereview.chromium.org/2591863004/#ps100001 (title: ".")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 100001, "attempt_start_ts": 1482372854413900,
"parent_rev": "ca13ae5f3721c052661e69d8352f4fd8611cd54c", "commit_rev":
"9a68972d82466118bf8dcdea6f8d01efdbb0ac91"}
Message was sent while issue was closed.
Description was changed from ========== mus: aura::Env should be destroyed last in the mus client. BUG=674803 ========== to ========== mus: aura::Env should be destroyed last in the mus client. BUG=674803 Review-Url: https://codereview.chromium.org/2591863004 ==========
Message was sent while issue was closed.
Committed patchset #6 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== mus: aura::Env should be destroyed last in the mus client. BUG=674803 Review-Url: https://codereview.chromium.org/2591863004 ========== to ========== mus: aura::Env should be destroyed last in the mus client. BUG=674803 Committed: https://crrev.com/2626c1919f27753ff20c855f4136f6414264c956 Cr-Commit-Position: refs/heads/master@{#440316} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/2626c1919f27753ff20c855f4136f6414264c956 Cr-Commit-Position: refs/heads/master@{#440316} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
