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

Issue 1730893002: Revert of Remove DialogDelegate::OnClosed() which is redundant with (Closed)

Created:
4 years, 10 months ago by shrike
Modified:
4 years, 10 months ago
CC:
chromium-reviews, tim+watch_chromium.org, sadrul, vabr+watchlistpasswordmanager_chromium.org, zea+watch_chromium.org, tfarina, maxbogue+watch_chromium.org, plaree+watch_chromium.org, oshima+watch_chromium.org, kalyank, gcasto+watchlist_chromium.org, davemoore+watch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove DialogDelegate::OnClosed() which is redundant with (patchset #9 id:160001 of https://codereview.chromium.org/1686433002/ ) Reason for revert: Failure Builder: Linux Chromium OS ASan LSan Tests (1) https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29 https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/9985/steps/browser_tests%20on%20Ubuntu-12.04/logs/DeviceLocalAccountTest.AutoLoginWithRecommendedLocales ==12959==ERROR: AddressSanitizer: heap-use-after-free on address 0x60e000047640 at pc 0x0000008c9c62 bp 0x7ffc51d4ad70 sp 0x7ffc51d4a530 WRITE of size 16 at 0x60e000047640 thread T0 (browser_tests) #0 0x8c9c61 in __asan_memset (/tmp/runKDXLlt/out/Release/browser_tests+0x8c9c61) #1 0x7cb68dc in ash::LogoutConfirmationController::OnDialogClosed() ash/system/chromeos/session/logout_confirmation_controller.cc:83:11 #2 0x5ce779b in views::Widget::OnNativeWidgetDestroying() ui/views/widget/widget.cc:1088:3 #3 0x5d0a61e in OnWindowDestroying ui/views/widget/native_widget_aura.cc:830:3 #4 0x5d0a61e in non-virtual thunk to views::NativeWidgetAura::OnWindowDestroying(aura::Window*) ui/views/widget/native_widget_aura.cc:828 #5 0xde3a857 in aura::Window::~Window() ui/aura/window.cc:109:5 #6 0xde3c02d in aura::Window::~Window() ui/aura/window.cc:102:19 #7 0x7c41d9c in ash::RootWindowController::CloseChildWindows() ash/root_window_controller.cc:533:7 #8 0x7bc1b5e in ash::WindowTreeHostManager::CloseChildWindows() ash/display/window_tree_host_manager.cc:350:7 #9 0x7c8a720 in ash::Shell::~Shell() ash/shell.cc:767:3 #10 0x7c8dc1d in ash::Shell::~Shell() ash/shell.cc:661:17 #11 0x7c81f98 in ash::Shell::DeleteInstance() ash/shell.cc:210:3 #12 0x6599ab1 in chrome::CloseAsh() chrome/browser/ui/ash/ash_init.cc:104:5 #13 0x1231270c in ChromeBrowserMainParts::PostMainMessageLoopRun() chrome/browser/chrome_browser_main.cc:1850:5 #14 0x56a5a84 in chromeos::ChromeBrowserMainPartsChromeos::PostMainMessageLoopRun() chrome/browser/chromeos/chrome_browser_main_chromeos.cc:837:3 #15 0x80b952e in content::BrowserMainLoop::ShutdownThreadsAndCleanUp() content/browser/browser_main_loop.cc:987:5 #16 0x88036cc in content::BrowserMainRunnerImpl::Shutdown() content/browser/browser_main_runner.cc:208:7 #17 0x13830cf5 in content::BrowserMain(content::MainFunctionParams const&) content/browser/browser_main.cc:46:3 #18 0x1184b150 in content::ContentMainRunnerImpl::Run() content/app/content_main_runner.cc:764:12 #19 0x118482ca in content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:15 #20 0x4641e54 in content::BrowserTestBase::SetUp() content/public/test/browser_test_base.cc:277:3 #21 0x4404695 in InProcessBrowserTest::SetUp() chrome/test/base/in_process_browser_test.cc:255:3 #22 0x2ecfc4b in policy::DeviceLocalAccountTest::SetUp() chrome/browser/chromeos/policy/device_local_account_browsertest.cc:440:5 #23 0x4ff7ed6 in HandleExceptionsInMethodIfSupported<testing::Test, void> testing/gtest/src/gtest.cc:2458:12 #24 0x4ff7ed6 in testing::Test::Run() testing/gtest/src/gtest.cc:2470 #25 0x4ffa837 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2656:5 #26 0x4ffb62a in testing::TestCase::Run() testing/gtest/src/gtest.cc:2774:5 #27 0x5010420 in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4647:11 #28 0x500f84b in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2458:12 #29 0x500f84b in testing::UnitTest::Run() testing/gtest/src/gtest.cc:4255 #30 0x45dc506 in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2237:10 #31 0x45dc506 in base::TestSuite::Run() base/test/test_suite.cc:231 #32 0x288fafa in ChromeBrowserTestSuiteRunner::RunTestSuite(int, char**) chrome/test/base/browser_tests_main.cc:14:12 #33 0x118cb72b in content::LaunchTests(content::TestLauncherDelegate*, int, int, char**) content/public/test/test_launcher.cc:499:12 #34 0x42caaa2 in LaunchChromeTests(int, ChromeTestSuiteRunner*, int, char**) chrome/test/base/chrome_test_launcher.cc:128:10 #35 0x288f9fc in main chrome/test/base/browser_tests_main.cc:21:10 #36 0x7f125cc1276c in __libc_start_main /build/eglibc-rrybNj/eglibc-2.15/csu/libc-start.c:226 Original issue's description: > Remove DialogDelegate::OnClosed() which is redundant with > WidgetDelegate::WindowClosing(). > > BUG=585312, 583330 > TBR=avi@chromium.org > > Committed: https://crrev.com/6f69f42209045c9d0c8b6bfc44d83ca6eca70a74 > Cr-Commit-Position: refs/heads/master@{#377057} TBR=msw@chromium.org,vasilii@chromium.org,sky@chromium.org,avi@chromium.org,estade@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=585312, 583330 Committed: https://crrev.com/52a7aabb6b0065b9895f8b80397b9bc35f4752a7 Cr-Commit-Position: refs/heads/master@{#377151}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -102 lines) Patch
M ash/system/chromeos/session/logout_confirmation_dialog.h View 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/chromeos/session/logout_confirmation_dialog.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/enrollment_dialog_view.cc View 3 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc View 4 chunks +31 lines, -26 lines 0 comments Download
M chrome/browser/ui/views/first_run_dialog.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/first_run_dialog.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/passwords/account_chooser_dialog_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc View 6 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/app_modal/views/javascript_app_modal_dialog_views.h View 1 chunk +1 line, -1 line 0 comments Download
M components/app_modal/views/javascript_app_modal_dialog_views.cc View 2 chunks +12 lines, -12 lines 0 comments Download
M ui/views/window/dialog_client_view.h View 2 chunks +5 lines, -2 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 5 chunks +27 lines, -17 lines 0 comments Download
M ui/views/window/dialog_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
shrike
Created Revert of Remove DialogDelegate::OnClosed() which is redundant with
4 years, 10 months ago (2016-02-24 00:22:23 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1730893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1730893002/1
4 years, 10 months ago (2016-02-24 00:25:01 UTC) #2
Reilly Grant (use Gerrit)
memory sheriff lgtm, you beat me to this by 2 minutes.
4 years, 10 months ago (2016-02-24 00:25:53 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-24 00:29:44 UTC) #6
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 00:30:48 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/52a7aabb6b0065b9895f8b80397b9bc35f4752a7
Cr-Commit-Position: refs/heads/master@{#377151}

Powered by Google App Engine
This is Rietveld 408576698