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

Issue 1878943002: Revert of Makes MaterialDesignController initialization explicit (Closed)

Created:
4 years, 8 months ago by kjellander_chromium
Modified:
4 years, 8 months ago
CC:
chromium-reviews, sadrul, tdanderson, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Makes MaterialDesignController initialization explicit (patchset #16 id:460001 of https://codereview.chromium.org/1845343005/ ) Reason for revert: Breaks message_center_unittests on Linux Chromium OS ASan LSan Tests (1): NotifierSettingsViewTest.TestLearnMoreButton (run #1): [ RUN ] NotifierSettingsViewTest.TestLearnMoreButton [7310:7310:0411/222127:19091916288:FATAL:material_design_controller.cc(63)] Check failed: is_mode_initialized_. #0 0x000000481ae1 __interceptor_backtrace #1 0x0000006d28c3 base::debug::StackTrace::StackTrace() #2 0x00000063f5ca logging::LogMessage::~LogMessage() #3 0x0000008051c0 ui::MaterialDesignController::IsModeMaterial() #4 0x000001e62411 ui::GetAuraColor() The FindIt analysis seems correct: https://findit-for-me.appspot.com/build-failure?url=https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20(1)/builds/11585# Original issue's description: > Makes MaterialDesignController initialization explicit > > Also delays updating Material Design specific colors in GTK UI until after > about_flags::ConvertFlagsToSwitches() is called from > ChromeBrowserMainParts::PreCreateThreadsImpl(). > Updates unit tests to avoid lazy initialization. > > BUG=595108 > > Committed: https://crrev.com/147afe55fdc0f5b25d3b33090b2355ec67ce04b0 > Cr-Commit-Position: refs/heads/master@{#386582} TBR=mkwst@chromium.org,estade@chromium.org,sky@chromium.org,thestig@chromium.org,varkha@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=595108 Committed: https://crrev.com/14180847cb7f255fb5fbb4f790d1f01317ee5452 Cr-Commit-Position: refs/heads/master@{#386598}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -211 lines) Patch
M ash/test/ash_test_helper.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/app/resources/resources_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.h View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 4 chunks +19 lines, -33 lines 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/service/service_process.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/test/browser_test_base.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M content/public/test/content_test_suite_base.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M content/shell/browser/shell_browser_main_parts.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M ui/base/material_design/material_design_controller.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/base/material_design/material_design_controller.cc View 3 chunks +27 lines, -34 lines 0 comments Download
M ui/base/material_design/material_design_controller_unittest.cc View 6 chunks +25 lines, -68 lines 0 comments Download
M ui/message_center/views/bounded_label_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M ui/message_center/views/message_center_view_unittest.cc View 5 chunks +3 lines, -4 lines 0 comments Download
M ui/shell_dialogs/run_all_unittests.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M ui/views/controls/button/label_button_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M ui/views/linux_ui/linux_ui.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/test/views_test_base.cc View 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
kjellander_chromium
Created Revert of Makes MaterialDesignController initialization explicit
4 years, 8 months ago (2016-04-12 06:18:01 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878943002/1
4 years, 8 months ago (2016-04-12 06:18:12 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-12 06:18:58 UTC) #4
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 06:20:43 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/14180847cb7f255fb5fbb4f790d1f01317ee5452
Cr-Commit-Position: refs/heads/master@{#386598}

Powered by Google App Engine
This is Rietveld 408576698