1. 14 Jan, 2020 30 commits
    • Benoît Lizé's avatar
      [windows] Release the Win32 address space reservation on OOM. · db01ddb8
      Benoît Lizé authored
      On Windows 32 bit, Chrome reserves a significant chunk of address space
      when a renderer starts, to make large contiguous allocations easier to
      fulfill. Once a memory allocation fails, the reservation is released,
      then the allocation retried. This only works if *all* the allocators are
      aware that this mechanism exists. Unfortunately, malloc() in particular
      is not aware of this, meaning that if a large malloc() allocation bumps
      into this issue first, then the renderer crashes.
      
      As this seems to be the case, from looking at crash reports (see linked
      bugs for instance), malloc() should be made aware of this.
      
      On Windows, allocations use the allocator shim, and call the "new
      handler", which should return a non-0 value when it is able to free some
      memory. Currently, this new handler always crashes the process. We
      update it to drop the reservation if it exists, and crash otherwise.
      
      This should hopefully solve some crashes we are seeing, especially some
      related to video decoding, frequently allocating buffers of ~1MB, which
      is large enough to trigger the issue, as seen in crash reports.
      
      This is not a complete fix, since it does not address all allocators in
      a process, e.g. allocations by DLLs loaded by the process will not pass
      through the new-handler hook. We do not (yet) see these as a significant
      cause of crashes in practice though.
      
      Note that this CL also adds the reservation dropping behavior to Linux
      builds as well. There is no address space reservation in actual Chrome
      builds on Linux, but adding this allows to exercise the tests on Linux
      builders as well, which is preferable.
      
      Bug: 1028086, 1023804
      Change-Id: I12ad4aa0c7bf518c3cf1df93c966e8631a69c280
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1989747Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
      Reviewed-by: default avatarBenoit L <lizeb@chromium.org>
      Reviewed-by: default avatarWez <wez@chromium.org>
      Commit-Queue: Benoit L <lizeb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730994}
      db01ddb8
    • Peter Wen's avatar
      Android: Remove DeferredStartup Metrics · 03592feb
      Peter Wen authored
      Remove several that have already expired, as well as MaxTaskDuration and
      StartupDuration.
      
      Bug: 1039326
      Change-Id: I65da54c7c60c376fff80fe5288efbbd7b37e8d66
      Fixed: 1039326
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986440
      Auto-Submit: Peter Wen <wnwen@chromium.org>
      Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
      Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
      Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730993}
      03592feb
    • Nico Weber's avatar
      Reformat all gn files in /ui/webui/resources/cr_components/chromeos/cellular_setup. · 4b79eae9
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=khorimoto@chromium.org
      
      Bug: 1041419
      Change-Id: Icb6f30e6c7d6070efa6d732a88dfcc21ae02da55
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998712
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
      Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730992}
      4b79eae9
    • Nico Weber's avatar
      Reformat all gn files in /chrome/browser/chromeos/power/ml. · a1ff0ffb
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=amoylan@chromium.org
      
      Bug: 1041419
      Change-Id: Ide2c1303468964b156b0d370b38f79abbdf3c01a
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993855
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarAndrew Moylan <amoylan@chromium.org>
      Commit-Queue: Andrew Moylan <amoylan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730991}
      a1ff0ffb
    • Dan Beam's avatar
      Revert "Add cr.exportPath() to ESLint banned properties" · 87042ab6
      Dan Beam authored
      This reverts commit 6f69db7b.
      
      Reason for revert:
      
      The cleanup CLs haven't landed yet cuz the tree is borked
      (ex: https://crrev.com/c/1995802)
      
      NOTREECHECKS=true
      NOTRY=true
      
      Original change's description:
      > Add cr.exportPath() to ESLint banned properties
      > 
      > R=​dpapad@chromium.org
      > 
      > Bug: 1028829
      > Change-Id: I6ff5518a178bd86a5ab13b8ef7d8bce52b9588fd
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995947
      > Commit-Queue: Dan Beam <dbeam@chromium.org>
      > Auto-Submit: Dan Beam <dbeam@chromium.org>
      > Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#730348}
      
      TBR=dbeam@chromium.org,dpapad@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: 1028829
      Change-Id: I57cca1d4367794050cbd571382b30f11e650d429
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1999549Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
      Commit-Queue: Dan Beam <dbeam@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730990}
      87042ab6
    • Nico Weber's avatar
      Reformat all gn files in /build/toolchain/mac. · 7fc2fbb1
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=rsesek@chromium.org
      
      Bug: 1041419
      Change-Id: I36f0b57e35e5e30edb0dffa6753549192d36476e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998919
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
      Commit-Queue: Robert Sesek <rsesek@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730989}
      7fc2fbb1
    • Kurt Horimoto's avatar
      [iOS] Update InfobarInteractionHandler. · 118a6ec7
      Kurt Horimoto authored
      While all infobar banners have relatively similar interaction patterns,
      the interaction signals from modals are all special-cased for each
      modal view's API.  As a result, there is no way to share code amongst
      interaction handlers for infobar detail sheet or modal UI.  Moreover,
      each of these handers needs to specify a separate OverlayRequestSupport
      since each only responds to a single request type.
      
      Since the top-level interfaces for detail sheet and modal interaction
      handlers expose identical API (i.e. visibility updates and callback
      installer creation), this CL combines them together into a single
      nested interface within the InfobarInteractionHandler.  The visibility
      observer in the InfobarOverlayBrowserAgent was also updated to no longer
      be specific to the banner UI, as the Handler class now supports
      receiving visibility signals for all overlay types.
      
      For consistency, the banner interaction handler was also converted into
      this shared handler interface.  The common interaction handling logic
      shared amongst banner implementations was moved into a common/
      directory that can be implemented for each InfobarType.  This CL also
      converts the password banner interaction handler to use this new
      interface.
      
      In order to test this new implementation, InfobarOverlayBrowserAgentTest
      was updated to a parameterized test for each InfobarOverlayType.  The
      test fixture sets up Handlers with mock callback installers for each
      overlay type.  The OverlayPresentation test verifies the presentation
      flow for infobar overlays of each InfobarOverlayType.  It verifies that
      the callbacks are successfully installed and that the infobar overlay
      visibility callbacks are executed properly.
      
      Bug: 1030357
      Change-Id: If735f30b0bf6741dfd30a2f606a07bacb5ac1e7e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995930
      Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
      Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730988}
      118a6ec7
    • Nico Weber's avatar
      Reformat all gn files in /components/url_formatter/tools. · f31da196
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=drubery@chromium.org
      
      Bug: 1041419
      Change-Id: Iea425beb9d19b73f2b5d55360e6c9074965fed50
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997557
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
      Commit-Queue: Daniel Rubery <drubery@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730987}
      f31da196
    • Nico Weber's avatar
      Reformat all gn files in /tools/binary_size. · 96933e4d
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=estevenson@chromium.org
      
      Bug: 1041419
      Change-Id: I6f964aad93e1125cd482d043db3abd4a314e5741
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998685
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarEric Stevenson <estevenson@chromium.org>
      Commit-Queue: Eric Stevenson <estevenson@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730986}
      96933e4d
    • Nico Weber's avatar
      Reformat all gn files in /third_party/minigbm. · e2e6c698
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=dnicoara@chromium.org
      
      Bug: 1041419
      Change-Id: I38a770cc4fb885eb49e7d6356e99ea4c50fa84da
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997713
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarDaniel Nicoara <dnicoara@chromium.org>
      Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730985}
      e2e6c698
    • Xinghui Lu's avatar
      [Android] Support bold spans in PasswordManagerDialog. · 0b3d32e4
      Xinghui Lu authored
      PasswordReuseDialog will bold the domains where passwords
      are reused. This CL add support for bold spans. The usage
      of bold spans will be added in a follow up CL.
      
      Bug: 1036042
      Change-Id: I9153da224011d358569d2659b4d33c6415ebdd95
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993740
      Commit-Queue: Xinghui Lu <xinghuilu@chromium.org>
      Reviewed-by: default avatarIoana Pandele <ioanap@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730984}
      0b3d32e4
    • Nico Weber's avatar
      Reformat all gn files in /ash/app_list. · 6c3305cf
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=jennyz@chromium.org
      
      Bug: 1041419
      Change-Id: I9ffe3d86934385cec5ba115267c6a064d7cd57b5
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998978
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarJenny Zhang <jennyz@chromium.org>
      Commit-Queue: Jenny Zhang <jennyz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730983}
      6c3305cf
    • Ali Juma's avatar
      Generalize thread-related logic in components/safe_browsing · 7daed6cd
      Ali Juma authored
      Currently, the logic for identifying threads in components/safe_browsing
      depends directly on content::BrowserThread. There are two main use cases:
      1) DHECK-ing the currently running thread; 2) creating TaskTraits for a
      call to PostTask.
      
      This CL creates more generic utility functions for identifying threads,
      checking the currently active thread, and creating TaskTraits given a
      thread id. It adds a common header file along with content-specific and
      ios-specific implementations.
      
      This CL also converts a single file (v4_local_database_manager.cc) to using
      the new functions.
      
      Finally, this CL adds an ios unit_test target for compiling the newly-created
      thread_utils_ios.cc. Over time, as more files become buildable on ios, they
      will be added to that target.
      
      This is a step towards removing dependencies on content/ from
      components/safe_browsing/core.
      
      Change-Id: I0194b57c5fc6fc4652cf578bceb5083f08e63432
      Bug: 1028755
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992353
      Commit-Queue: Ali Juma <ajuma@chromium.org>
      Reviewed-by: default avatarKurt Horimoto <kkhorimoto@chromium.org>
      Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730982}
      7daed6cd
    • Nico Weber's avatar
      Reformat all gn files in /third_party/yasm. · e40615e8
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=dalecurtis@chromium.org
      
      Bug: 1041419
      Change-Id: Ie028bb68b57fb36845f4825459257be95b848685
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998270
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
      Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730981}
      e40615e8
    • Nico Weber's avatar
      Reformat all gn files in /build/mac. · 7a4c3888
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=rsesek@chromium.org
      
      Bug: 1041419
      Change-Id: I8f2d90b271b4be38f50d974c1f1691b628a290ff
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997767
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
      Commit-Queue: Robert Sesek <rsesek@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730980}
      7a4c3888
    • Nico Weber's avatar
      Reformat all gn files in /tools/gritsettings. · 89e045ed
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=huangs@chromium.org
      
      Bug: 1041419
      Change-Id: I6a2e1245b543eee2ed837e2779c8a34c1183171b
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998444
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
      Commit-Queue: Samuel Huang <huangs@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730979}
      89e045ed
    • Nico Weber's avatar
      Reformat all gn files in /third_party/tlslite. · eb8d7c7c
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=rsleevi@chromium.org
      
      Bug: 1041419
      Change-Id: Ie86918ddd7230441dbd4612003208df53e30c0a1
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998628
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarRyan Sleevi <rsleevi@chromium.org>
      Commit-Queue: Ryan Sleevi <rsleevi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730978}
      eb8d7c7c
    • Kurt Horimoto's avatar
      [iOS] Move |-dispatchResponseAndStopOverlay:| to category · 679ed99e
      Kurt Horimoto authored
      This will be used for multiple OverlayRequestMediators, so is moved to
      a category that can be used by all subclasses.
      
      Bug: 1030357
      Change-Id: Ia314d2e9a951cc509361094d1d4d89487eaf662e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1996155
      Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
      Reviewed-by: default avatarMike Dougherty <michaeldo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730977}
      679ed99e
    • Joe Mason's avatar
      Call AppendTestSwitches in SecureDLLLoadingTest · f10e585f
      Joe Mason authored
      This will add the --test-logging-path switch that prevents flakes while
      spawning a subprocess.
      
      R=proberge
      
      Bug: 1030333
      Change-Id: I4beaeb0cf1950516d8528d4134889f8043f1d5a5
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998710Reviewed-by: default avatarproberge <proberge@chromium.org>
      Commit-Queue: Joe Mason <joenotcharles@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730976}
      f10e585f
    • Tommy Steimel's avatar
      Kaleidoscope: Add kaleidoscope-content to network access whitelist · 51742a78
      Tommy Steimel authored
      This CL temporarily adds kaleidoscope-content to the network access
      whitelist while we await support for untrusted WebUIs.
      
      Bug: 1039904
      Change-Id: I1f03f21be9ebb121c7bfc16878566ab6fc41836f
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994535Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
      Reviewed-by: default avatarEsmael Elmoslimany <aee@chromium.org>
      Commit-Queue: Becca Hughes <beccahughes@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730975}
      51742a78
    • Paul Moy's avatar
      cros_healthd: change to new interface · 7f109b2a
      Paul Moy authored
      Update Chrome's copy of cros_healthd.mojom to stay in
      sync with Chrome OS's copy, and change cros_healthd's
      ServiceConnection to work with the new mojo interface.
      
      Bug: chromium:1040161
      Test: chromeos_unittests --gtest_filter=CrosHealthdServiceConnectionTest.*
      Change-Id: If3b0fba44bcea71e8221dd86f9a9ad8f772b05e0
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992586
      Commit-Queue: Paul Moy <pmoy@chromium.org>
      Reviewed-by: default avatarJorge Lucangeli Obes <jorgelo@chromium.org>
      Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730974}
      7f109b2a
    • Albert Chaulk's avatar
      Update surface quad's quad_rect & scaling · fbbbe23b
      Albert Chaulk authored
      The math to scale and size the rect was incorrect. The quad rect
      should actually be an unscaled embedded_surface_size_ instead
      of a scaled content_size_. This fixes distortion of the contents as
      currently the quad will still be scaled incorrectly
      
      Similarly, the implementation of the matrix means that translate needs
      to be scaled up/down as well
      
        with continually variable crop offsets and scaling
      
      Bug: b/143612326
      Test: manually, a 256x256 crop of a 1024x600 surface into a 512x512 quad
      Change-Id: If545170f9ae4cd53075b2f3128b7dc38383077d3
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994263
      Commit-Queue: Albert Chaulk <achaulk@chromium.org>
      Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730973}
      fbbbe23b
    • Xiaohui Chen's avatar
      launcher: fix tablet mode Assistant transitions · c039719b
      Xiaohui Chen authored
      There are a few tablet mode transitions are fixed:
      * in app state, long press home button to start assistant then
        hit home button to go to launcher
      * in app state, long press home button to start assistant then
        fling from bottom to go to home launcher
      * in app state, long press home button to start assistant then
        drag to overview mode, then hit home button
      
      Bug: 1026727, 1039787
      Test: locally build and test
      Change-Id: Ie9c9bab98ed73b4e419149554b9bead6b8cd8e24
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994241
      Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
      Reviewed-by: default avatarToni Baržić <tbarzic@chromium.org>
      Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730972}
      c039719b
    • Saman Sami's avatar
      Ozone/DRM: Fix DCHECK failure during startup · 54b1db69
      Saman Sami authored
      IsConnected() and OnGpuServiceLost() are expected to be called on the
      UI thread, but they're being used in OnGpuServiceLaunched() that is run
      on the IO thread.
      
      Bug: 620927,1039834
      Change-Id: I41459fe834f444fe72418950d9fdb393352a7c71
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1999323Reviewed-by: default avatarMichael Spang <spang@chromium.org>
      Commit-Queue: Saman Sami <samans@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730971}
      54b1db69
    • Nico Weber's avatar
      Reformat all gn files in /extensions/browser/guest_view. · fc8dcbc0
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=ekaramad@chromium.org
      
      Bug: 1041419
      Change-Id: I5ecbae9d7f892c8dca80c002daa45c04459614c8
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998920
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarJames MacLean <wjmaclean@chromium.org>
      Commit-Queue: James MacLean <wjmaclean@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730970}
      fc8dcbc0
    • Nico Weber's avatar
      Reformat all gn files in /ui/message_center. · cd0419cc
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=tengs@chromium.org
      
      Bug: 1041419
      Change-Id: Id587e815c27d0ca6f86006757a987ab453e665f4
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998784
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarPeter Beverloo <peter@chromium.org>
      Commit-Queue: Peter Beverloo <peter@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730969}
      cd0419cc
    • Nico Weber's avatar
      Reformat all gn files in /gpu/config. · 38b72ab4
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=kbr@chromium.org
      
      Bug: 1041419
      Change-Id: I14c49a96e42dabd429da802c1538e13d5a4850b1
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998620
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
      Commit-Queue: Kenneth Russell <kbr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730968}
      38b72ab4
    • Nico Weber's avatar
      Reformat all gn files in /services/identity. · 60d8d585
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=msarda@chromium.org
      
      Bug: 1041419
      Change-Id: I8cd0ca11583d6c403b79c1d4b8925d710f402dcd
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995857
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarMihai Sardarescu <msarda@chromium.org>
      Commit-Queue: Nico Weber <thakis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730967}
      60d8d585
    • Evan Stade's avatar
      Prepare FindResultBar for //components by removing Chrome dependencies · 79cbb1c8
      Evan Stade authored
      Bug: 1038415
      Change-Id: I8dbdfdc17d1fd88e75a77d86346b2153a6aa3afd
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1989863Reviewed-by: default avatarTheresa  <twellington@chromium.org>
      Reviewed-by: default avatarJinsuk Kim <jinsukkim@chromium.org>
      Commit-Queue: Evan Stade <estade@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730966}
      79cbb1c8
    • Nico Weber's avatar
      Reformat all gn files in /components/gwp_asan. · 3f7a623e
      Nico Weber authored
      `gn format` recently changed its formatting behavior
      for deps, source, and a few other elements when they
      are assigned (with =) single-element lists to be consistent
      with the formatting of updates (with +=) with single-element.
      
      Now that we've rolled in a GN binary with the change,
      reformat all files so that people don't get presubmit
      warnings due to this.
      
      This CL was uploaded by git cl split.
      
      R=vitalybuka@chromium.org
      
      Bug: 1041419
      Change-Id: Ic6e1f57be18eae39f00e8f8141f0fb39aec60965
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997951
      Auto-Submit: Nico Weber <thakis@chromium.org>
      Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
      Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#730965}
      3f7a623e
  2. 13 Jan, 2020 10 commits