1. 15 Feb, 2018 40 commits
    • Miguel Casas's avatar
      RELAND: Vaapi: extract a new BUILD.gn · b23e6413
      Miguel Casas authored
      Original CL got reverted after breaking linux-chromeos-dbg:
      FAILED: viz.service
      ...
      error: undefined reference to 'media::VaapiWrapper::PreSandboxInitialization()'
      
      because the original CL was missing a
        defines = [ "MEDIA_GPU_IMPLEMENTATION" ]
      inside the new BUILD.gn
      
      Also this CL removes an extra level of vaapi/ folder in the auto
      generated stub files.
      
      Cq-Include-Trybots: master.tryserver.chromium.chromiumos:linux-chromeos-dbg
      TBR=dalecurtis@chromium.org (minor changes)
      
      Original CL description -----------------------------------------------
      
      This CL adds a new //media/gpu/vaapi/BUILD.gn and extracts the necesary
      parts of //media/gpu/BUILD.gn into it.  The files in ...vaapi/ include
      a few of //media/gpu, so I extracted those into a //media/gpu:common
      source_set.
      
      TEST= simplechrome on soraka; CQ should cover this changes nonetheless.
      
      Bug: 811912
      Change-Id: I76a24913c48cd407131712ff6d573c5ee94fe14e
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Reviewed-on: https://chromium-review.googlesource.com/919301Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
      Commit-Queue: Miguel Casas <mcasas@chromium.org>
      Cr-Original-Commit-Position: refs/heads/master@{#536825}
      Reviewed-on: https://chromium-review.googlesource.com/919971Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537007}
      b23e6413
    • Michael Lippautz's avatar
      [oilpan] Introduce TraceInCollectionTrait::IsAlive · e10bedf4
      Michael Lippautz authored
      Introduce a stateless method that checks whether an object is alive for handling
      during weak processing. This allows us to remove the guards that check for mark
      bits in case we want strong tracing.
      
      Bug: chromium:802273
      Change-Id: Idf177b568ed9de8bd5542dc3c71c28156c95a170
      Reviewed-on: https://chromium-review.googlesource.com/895459Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537006}
      e10bedf4
    • Morten Stenshorne's avatar
      [LayoutNG] Improved legacy write-back for multicol. · 63cac401
      Morten Stenshorne authored
      This fixes crashers in layout tests.
      
      A recent change, probably
      https://chromium-review.googlesource.com/c/chromium/src/+/912551
      triggered a bunch of crashers in fast/multicol/ , because it calls
      LayoutFlowThread::PageRemainingLogicalHeightForOffset(), which DCHECKs
      on IsPageLogicalHeightKnown(). So have NG mark logical height as known,
      to avoid the DCHECK failure.
      
      In addition to fixing those 91 new crashers (note that the test
      expectation file hadn't been updated to expect crashers for those), this
      also fixes some old crashers. Most of them go from Crash to Failure, but
      a few even pass now.
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
      Change-Id: Ia3405e7dc18cb11026927836d07be5e3271817bb
      Reviewed-on: https://chromium-review.googlesource.com/921227
      Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
      Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537005}
      63cac401
    • Xida Chen's avatar
      [PaintWorklet] Fix crash when hitting breakpoint during lifecycle · 1d692b44
      Xida Chen authored
      If we put a devtool's breakpoint in the paint() function and start
      debugging, the renderer will crash when we resize the window or switch
      to the element tab. This is because when we are in the middle of
      lifecycle when we get to the paint function, and anything triggers
      layout update will cause a renderer crash.
      
      The fix in CL is that when we hit a breakpoint, check if we are in the
      middle of lifecycle or not, if we are, flip a bit to be true in the
      |LocalFrameView|, so that later on whenever there is a layout update we
      can check that bit and do early exit.
      
      Bug: 788219
      Change-Id: I4fbafab868508ed4ba453339d91364253d17f523
      Reviewed-on: https://chromium-review.googlesource.com/899484
      Commit-Queue: Xida Chen <xidachen@chromium.org>
      Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537004}
      1d692b44
    • Frank Kastenholz's avatar
      Land QUIC changes through Sun Feb 11 21:25:30 2018 +0000 · f4b21ed1
      Frank Kastenholz authored
      Apply changes to flags generated by update_flags.py
      
      -------------------------------------------------------------------
      
      Allow changing QUIC's delayed ack time from 25ms.
      
      n/a (No functional change)
      
      Merge internal change: 185313805
      
      https://chromium-review.googlesource.com/c/916809/
      
      Bug: 70283125
      
      -------------------------------------------------------------------
      
      Change grpc/quic streams to push data less frequently.
      
      Currently they pushes data to byte stream whenever new data is
      available, which causes a lot of small copies.
      
      add a bool in quic stream sequencer to allow it to update stream about
      newly arrived data even though stream wasn't read-blocked. No behavior
      change for production traffic. Not flag protected.
      
      Merge internal change: 185177193
      
      https://chromium-review.googlesource.com/c/916948/
      
      Bug: 71512211
      
      -------------------------------------------------------------------
      
      Enable tests in quic/core:end_to_end_tests to use TLS
      
      This is a re-land of cl/184924473 with a change to fix the failing tests.
      
      Mostly test-only change; non-test changes gated by
      FLAGS_quic_reloadable_flag_quic_store_version_before_signalling and
      --quic_supports_tls_handshake.
      
      Merge internal change: 185058069
      
      https://chromium-review.googlesource.com/c/917024/
      
      No bug number.
      
      -------------------------------------------------------------------
      
      Add two new QUIC connection options to remove the min TLP and RTO
      timeouts and two to change to IETF style TLP and IETF style TLP
      with a 2x multiplier.  Protected by
      FLAGS_quic_reloadable_flag_quic_min_rtt_ack_delay2.
      
      Merge internal change: 185044263
      
      https://chromium-review.googlesource.com/c/916836/
      
      bug is 70283125
      
      -------------------------------------------------------------------
      
      Automated g4 rollback of changelist 184924473.
      
      *** Reason for rollback ***
      
      Breaks several tests
      
      *** Original change description ***
      
      Enable tests in quic/core:end_to_end_tests to use TLS
      
      ***
      
      Merge internal change: 184992033
      
      https://chromium-review.googlesource.com/c/916544/
      
      is bug 73102608
      
      -------------------------------------------------------------------
      
      Enable tests in quic/core:end_to_end_tests to use TLS
      
      Merge internal change: 184924473
      
      https://chromium-review.googlesource.com/c/916503/
      
      No bug number.
      
      -------------------------------------------------------------------
      
      GFE supports X-Response-Ttl header to allow backend to specify a
      TTL. A QUIC stream is immediately canceled if its TTL expires.
      This is only enabled for QUIC version 42+, which is flag
      protected by default disabled
      FLAGS_quic_reloadable_flag_quic_enable_version_42.
      
      This has no effect until a backend actually sends the header.
      
      Merge internal change: 184837311
      
      https://chromium-review.googlesource.com/c/916421/
      
      This is bug 68207080
      
      -------------------------------------------------------------------
      Delay construction of QuicCryptoServerStream::HandshakerDelegate
      
      These changes are needed for quic/core:end_to_end_test for
      EndToEndTest::Initialize to succeed when TLS is enabled.
      
      Protected by
      FLAGS_FLAGS_quic_reloadable_flag_delay_quic_server_handshaker_construction,
      should be no change in behavior
      
      Merge internal change: 184767118
      
      https://chromium-review.googlesource.com/c/915983/
      
      -------------------------------------------------------------------
      
      Move members from QuicCryptoServerHandshaker to QuicCryptoServerStream
      
      Merge internal change: 184744130
      
      https://chromium-review.googlesource.com/c/915982/
      
      -------------------------------------------------------------------
      
      Remove the flag count for
      FLAGS_quic_reloadable_flag_quic_min_rtt_ack_delay because it's
      executed billions of times a day in VL and WK.
      
      n/a (Remove flag count)
      
      Merge internal change: 184743850
      
      https://chromium-review.googlesource.com/c/916302/
      
      -------------------------------------------------------------------
      
      Disable QUIC v41. Protected by FLAGS_FLAGS_quic_reloadable_flag_quic_disable_version_41
      
      Merge internal change: 184677354
      
      https://chromium-review.googlesource.com/c/916361/
      
      -------------------------------------------------------------------
      
      Disable QUIC v38. Protected by FLAGS_FLAGS_quic_reloadable_flag_quic_disable_version_38
      
      Merge internal change: 184634227
      
      https://chromium-review.googlesource.com/c/914606/
      
      -------------------------------------------------------------------
      
      Disable QUIC v37. Protected by FLAGS_FLAGS_quic_reloadable_flag_quic_disable_version_37
      
      Merge internal change: 184630948
      
      https://chromium-review.googlesource.com/c/914875/
      
      -------------------------------------------------------------------
      
      Clean up QUIC version manager tests, and add tests for
      FilterSupportedVersions tests for the various QUIC version flags.
      
      n/a - test only
      
      Merge internal change: 184590475
      
      https://chromium-review.googlesource.com/c/914722/
      
      -------------------------------------------------------------------
      
      Applied ClangTidy fixes
      
      The changelist was automatically generated using the apply_fixes.sh script
      
      Merge internal change: 184551125
      
      https://chromium-review.googlesource.com/c/914068/
      
      -------------------------------------------------------------------
      
      Applied ClangTidy fixes
      
      The changelist was automatically generated using the apply_fixes.sh script
      
      Merge internal change: 184507853
      
      https://chromium-review.googlesource.com/c/913509/
      
      -------------------------------------------------------------------
      
      Refactor QuicConnectionVisitorInterface::OnSuccessfulVersionNegotiation
      
      refactor in QUIC code to use ParsedQuicVersion instead of QuicTransportVersion
      
      Merge internal change: 184350463
      
      https://chromium-review.googlesource.com/c/913848/
      
      -------------------------------------------------------------------
      
      Make the frame format changes in QUIC v41 apply only to v41.
      
      Make the frame format changes in QUIC v41 apply only to v41, and
      not future versions(Currently v42 and v43). v42 and v43 are
      protected by FLAGS_enable_quic_version_42 and
      FLAGS_enable_quic_version_43, so this change is protected by them.
      
      This is because the IETF has revised the frame formats and v41
      is not terribly useful.
      
      Merge internal change: 184342256
      
      https://chromium-review.googlesource.com/c/913789/
      
      -------------------------------------------------------------------
      
      R=rch@chromium.org
      
      Change-Id: Ie108c91f69721eebef1510950158a41800bda281
      Reviewed-on: https://chromium-review.googlesource.com/919961
      Commit-Queue: Frank Kastenholz <fkastenholz@chromium.org>
      Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537003}
      f4b21ed1
    • Tim Schumann's avatar
      Revert "Add NotoSansCJK font to content_shell_fonts collection." · 9d12e87a
      Tim Schumann authored
      This reverts commit 81325ee9.
      
      Reason for revert: Seems to have broken the Webkit Android build.
      
      Example from: https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.webkit%2FWebKit_Android__Nexus4_%2F74342%2F%2B%2Frecipes%2Fsteps%2Fwebkit_tests%2F0%2Fstdout
      
      BUG=812597
      
      Original change's description:
      > Add NotoSansCJK font to content_shell_fonts collection.
      > 
      > Currently the set of fonts used for layout tests on Android and Fuchsia
      > doesn't include any Chinese, Japanese or Korean fonts, so they render tofu
      > on the pixel tests that contain text in these languages. Adding NotoSansCJK
      > so these tests can render properly.
      > 
      > Bug: 778467, 787020
      > Change-Id: Id29b65525d5af0be96984db69e62d9d198b87fd4
      > Reviewed-on: https://chromium-review.googlesource.com/910122
      > Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
      > Reviewed-by: Scott Violet <sky@chromium.org>
      > Reviewed-by: Dirk Pranke <dpranke@chromium.org>
      > Reviewed-by: Dominik Röttsches <drott@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#536920}
      
      TBR=sky@chromium.org,dpranke@chromium.org,sergeyu@chromium.org,drott@chromium.org
      
      Change-Id: I3894b1c956837796b1b0bb5fa4fc3e9e2e6eba8f
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 778467, 787020
      Reviewed-on: https://chromium-review.googlesource.com/921501Reviewed-by: default avatarTim Schumann <tschumann@chromium.org>
      Commit-Queue: Tim Schumann <tschumann@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537002}
      9d12e87a
    • Alice Boxhall's avatar
      Trying to re-land: Use a PromiseResolver to store reference to Element in... · c0070250
      Alice Boxhall authored
      Trying to re-land: Use a PromiseResolver to store reference to Element in getComputedAccessibleNode() implementation.
      
      Bug: 792783
      Change-Id: I92a316781e546a346c166fd33c3983417184db22
      Reviewed-on: https://chromium-review.googlesource.com/912054
      Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
      Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537001}
      c0070250
    • Morten Stenshorne's avatar
      [LayoutNG] Allow zero-width layout opportunities. · 5e75268d
      Morten Stenshorne authored
      Zero-width floats or in-flow block-level objects that establish a new formatting
      context may fit beside preceding floats even if there's zero inline space left.
      
      With this change, a couple of tests start passing, but coverage seems a
      bit low, so I added a few new ones.
      
      Had to rebaseline fast/text/word-break.html because a zero-width line
      may now fit beside a float that takes up all available inline
      space. There was a <br clear=all> in the test that used to insert the
      line below such a float. We're now compatible with the others (and our
      old selves).
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
      Change-Id: Iaf394b7039545eea235b2841457f1662e5890ba9
      Reviewed-on: https://chromium-review.googlesource.com/916262
      Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
      Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
      Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#537000}
      5e75268d
    • Boris Sazonov's avatar
      [Signin][Android] Add Signin.SwitchSyncAccount.Source histogram · 8f4afda5
      Boris Sazonov authored
      This CL adds Signin.SwitchSyncAccount.Source histogram that tracks the
      usage of different flows that switch sync accounts. There are currently
      two such flows: manual signout-signin and SyncAccountSwitcher.
      
      Bug: 704709
      Change-Id: I0afe79d5110d55b3ca0287c18b7d485c93473ee8
      Reviewed-on: https://chromium-review.googlesource.com/914902Reviewed-by: default avatarJesse Doherty <jwd@chromium.org>
      Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
      Commit-Queue: Boris Sazonov <bsazonov@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536999}
      8f4afda5
    • Fredrik Söderquist's avatar
      Simplify/improve ElementStyleResources "is sprite" heuristic · d098d318
      Fredrik Söderquist authored
      The HasBackgroundImage check is redundant because the helper function is
      called within an equivalent check.
      Also change so that current layer is checked, rather than always
      checking the first (top-most) layer. Update the test to include a case
      where doing this will help.
      Rename the helper method to BackgroundLayerMayBeSprite since it's no
      longer operating on a ComputedStyle.
      
      Change-Id: Ibfabfc4a3c68d042ab356f43cb6031697d4daf98
      Reviewed-on: https://chromium-review.googlesource.com/852255Reviewed-by: default avatarrajendrant <rajendrant@chromium.org>
      Reviewed-by: default avatarScott Little <sclittle@chromium.org>
      Commit-Queue: Fredrik Söderquist <fs@opera.com>
      Cr-Commit-Position: refs/heads/master@{#536998}
      d098d318
    • v8-autoroll's avatar
      Update V8 to version 6.6.250. · 60a76867
      v8-autoroll authored
      Summary of changes available at:
      https://chromium.googlesource.com/v8/v8/+log/12457874..f425854a
      
      Please follow these instructions for assigning/CC'ing issues:
      https://github.com/v8/v8/wiki/Triaging%20issues
      
      Please close rolling in case of a roll revert:
      https://v8-roll.appspot.com/
      This only works with a Google account.
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      
      TBR=hablich@chromium.org,machenbach@chromium.org,kozyatinskiy@chromium.org,sergiyb@chromium.org
      
      Change-Id: Iffa33afdb2feb41f74e4d6d15d6b1a9cc4dd240a
      Reviewed-on: https://chromium-review.googlesource.com/920406Reviewed-by: default avatarv8 autoroll <v8-autoroll@chromium.org>
      Commit-Queue: v8 autoroll <v8-autoroll@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536997}
      60a76867
    • David Bokan's avatar
      Disable failing DevTools test · b12c68e0
      David Bokan authored
      This test started failing as a result of turning on
      --root-layer-scrolls. This flag is now on in ToT so this CL disables the
      test to get the waterfall green while a fix is landed.
      
      TBR=dgozman@chromium.org, skobes@chromium.org
      
      Bug: 811406
      Change-Id: I6fe244ffa4953ac51e145d9073e0134a6aaa3d68
      Reviewed-on: https://chromium-review.googlesource.com/920886
      Commit-Queue: David Bokan <bokan@chromium.org>
      Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536996}
      b12c68e0
    • Tim Schumann's avatar
      mark timeline-recalculate-styles.js as failing on win7 · 887ffd23
      Tim Schumann authored
      TBR=alph
      
      Bug: 812417
      Change-Id: I620e5cf3455b0d40efe1044820cece66e202c670
      Reviewed-on: https://chromium-review.googlesource.com/921225Reviewed-by: default avatarTim Schumann <tschumann@chromium.org>
      Commit-Queue: Tim Schumann <tschumann@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536995}
      887ffd23
    • Matthew Cary's avatar
      Prerender: remove parse histogram check in browsertest due to flake. · 2567bf33
      Matthew Cary authored
      Checking for the parse histogram is causing flakes for
      PrerenderBrowserTest.PageLoadMetricsPrerender. I don't know what's
      causing it to flake, but it is definitely hanging in the
      ParseStartMetricsWaiter. As (1) prerender is deprecated and being
      removed, and (2) this histogram check was a subtle way to verify
      prerender behavior and so not necessarily reliable anyway, it seems
      most expedient to remove it and keep the bots green.
      
      Bug: 812158
      Change-Id: I334a81fd554fdec7eef4567e662194e45fc012fe
      Reviewed-on: https://chromium-review.googlesource.com/918664Reviewed-by: default avatarEgor Pasko <pasko@chromium.org>
      Commit-Queue: Matthew Cary <mattcary@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536994}
      2567bf33
    • Michael Lippautz's avatar
      XMLHttpRequest: Retain response text using wrapper tracing · deb63686
      Michael Lippautz authored
      Remove ScriptString which is a scoped object keeping a strong handle.
      Using wrapper tracing implies that the retaining path for DevTools
      shows up properly.
      
      Bug: chromium:810194
      Change-Id: Ia5126fdca8d270a9f5700af335735210e4062d61
      Reviewed-on: https://chromium-review.googlesource.com/911969
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536993}
      deb63686
    • Harald Alvestrand's avatar
      Wire up WebRTC SDP Semantics UMA counters · 5797c991
      Harald Alvestrand authored
      This exposes counters for what kind of SDP semantic
      is requested and used to UMA.
      Part of the WebRTC transition to Unified Plan.
      
      Bug: chromium:811683
      Change-Id: Idd306454e9ca2424612dc2fe5196e1ee77539df2
      Reviewed-on: https://chromium-review.googlesource.com/918502Reviewed-by: default avatarSteven Holte <holte@chromium.org>
      Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
      Commit-Queue: Henrik Boström <hbos@chromium.org>
      Commit-Queue: Harald Alvestrand <hta@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536992}
      5797c991
    • Maxim Kolosovskiy's avatar
      [Password Manager] Check that |render_frame()| is not null in PasswordAutofillAgent · 1e44004d
      Maxim Kolosovskiy authored
      |render_frame()| may be null. So, |PasswordAutofillAgent::GetPasswordFormFromUnownedInputElements| may crash. See the bug for details.
      
      Bug: 808366
      Change-Id: If1e53e5bd11305cdafba165aff755d6f6f88075c
      Reviewed-on: https://chromium-review.googlesource.com/921122Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
      Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536991}
      1e44004d
    • Gabriel Charette's avatar
      Revert "Move grayscale conversion into NavigationEntryScreenshotManager." · 553d774d
      Gabriel Charette authored
      This reverts commit 2453e479.
      
      Reason for revert: causing MSAN failures on https://uberchromegw.corp.google.com/i/chromium.memory/builders/Linux%20MSan%20Tests
      
      [ RUN      ] NavigationControllerTest.PurgeScreenshot
      ==7007==WARNING: MemorySanitizer: use-of-uninitialized-value
          #0 0x8a3a26f in round ./../../third_party/skia/src/jumper/SkJumper_stages.cpp:462:41
          #1 0x8a3a26f in to_unorm ./../../third_party/skia/src/jumper/SkJumper_stages.cpp:905:0
          #2 0x8a3a26f in store_a8_k ./../../third_party/skia/src/jumper/SkJumper_stages.cpp:1584:0
          #3 0x8a3a26f in sk_store_a8 ./../../third_party/skia/src/jumper/SkJumper_stages.cpp:1581:0
          #4 0x8a234d9 in sk_start_pipeline ./../../third_party/skia/src/jumper/SkJumper_stages.cpp:755:13
          #5 0x86a6c88 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:1916:12
          #6 0x86a6c88 in SkRasterPipelineBlitter::blitRect(int, int, int, int) ./../../third_party/skia/src/core/SkRasterPipelineBlitter.cpp:352:0
          #7 0x873337f in blitrect ./../../third_party/skia/src/core/SkScan.cpp:25:14
          #8 0x873337f in SkScan::FillIRect(SkIRect const&, SkRegion const*, SkBlitter*) ./../../third_party/skia/src/core/SkScan.cpp:36:0
          #9 0x873497d in FillRect ./../../third_party/skia/src/core/SkScan.cpp:71:5
          #10 0x873497d in SkScan::FillRect(SkRect const&, SkRasterClip const&, SkBlitter*) ./../../third_party/skia/src/core/SkScan.cpp:113:0
          #11 0x849775d in SkDraw::drawRect(SkRect const&, SkPaint const&, SkMatrix const*, SkRect const*) const ./../../third_party/skia/src/core/SkDraw.cpp:814:21
          #12 0x849ee7b in SkDraw::drawBitmap(SkBitmap const&, SkMatrix const&, SkRect const*, SkPaint const&) const ./../../third_party/skia/src/core/SkDraw.h:0:15
          #13 0x836e327 in SkBitmapDevice::drawBitmap(SkBitmap const&, float, float, SkPaint const&) ./../../third_party/skia/src/core/SkBitmapDevice.cpp:233:18
          #14 0x83fb1fe in SkCanvas::onDrawBitmap(SkBitmap const&, float, float, SkPaint const*) ./../../third_party/skia/src/core/SkCanvas.cpp:2309:27
          #15 0x83ea9fa in SkCanvas::drawBitmap(SkBitmap const&, float, float, SkPaint const*) ./../../third_party/skia/src/core/SkCanvas.cpp:1837:11
          #16 0xd832b25 in content::ScreenshotData::EncodeOnWorker(SkBitmap const&) ./../../content/browser/frame_host/navigation_entry_screenshot_manager.cc:60:14
          #17 0x1151efaf in Run ./../../base/callback.h:65:12
          #18 0x1151efaf in base::(anonymous namespace)::PostTaskAndReplyRelay::RunTaskAndPostReply() ./../../base/threading/post_task_and_reply_impl.cc:45:0
          #19 0x1132685a in Run ./../../base/callback.h:65:12
          #20 0x1132685a in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) ./../../base/debug/task_annotator.cc:55:0
          #21 0x114ee940 in base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) ./../../base/task_scheduler/task_tracker.cc:441:23
          #22 0x114f5b30 in base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) ./../../base/task_scheduler/task_tracker_posix.cc:25:16
          #23 0xf099880 in base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) ./../../base/test/scoped_task_environment.cc:280:49
          #24 0x114ec1e0 in base::internal::TaskTracker::RunNextTask(scoped_refptr<base::internal::Sequence>, base::internal::CanScheduleSequenceObserver*) ./../../base/task_scheduler/task_tracker.cc:343:3
          #25 0x114dece1 in base::internal::SchedulerWorker::Thread::ThreadMain() ./../../base/task_scheduler/scheduler_worker.cc:81:41
          #26 0x1151e887 in base::(anonymous namespace)::ThreadFunc(void*) ./../../base/threading/platform_thread_posix.cc:75:13
          #27 0x7fe34df7e183 in start_thread /build/eglibc-SvCtMH/eglibc-2.19/nptl/pthread_create.c:312:0
          #28 0x7fe346aceffc in clone /build/eglibc-SvCtMH/eglibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:111:0
        Uninitialized value was created by a heap allocation
          #0 0x16e48ed in __interceptor_malloc /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/msan/msan_interceptors.cc:944:3
          #1 0x11448cb9 in base::UncheckedMalloc(unsigned long, void**) ./../../base/process/memory_linux.cc:105:13
          #2 0xfeb9235 in malloc_nothrow ./../../skia/ext/SkMemory_new_handler.cpp:76:19
          #3 0xfeb9235 in sk_malloc_flags(unsigned long, unsigned int) ./../../skia/ext/SkMemory_new_handler.cpp:115:0
          #4 0x853330b in sk_malloc_canfail ./../../third_party/skia/include/private/SkMalloc.h:93:12
          #5 0x853330b in MakeUsing ./../../third_party/skia/src/core/SkMallocPixelRef.cpp:76:0
          #6 0x853330b in SkMallocPixelRef::MakeAllocate(SkImageInfo const&, unsigned long) ./../../third_party/skia/src/core/SkMallocPixelRef.cpp:86:0
          #7 0x835ead5 in SkBitmap::tryAllocPixels(SkImageInfo const&, unsigned long) ./../../third_party/skia/src/core/SkBitmap.cpp:235:28
          #8 0xd8328df in tryAllocPixels ./../../third_party/skia/include/core/SkBitmap.h:517:22
          #9 0xd8328df in content::ScreenshotData::EncodeOnWorker(SkBitmap const&) ./../../content/browser/frame_host/navigation_entry_screenshot_manager.cc:55:0
          #10 0x1151efaf in Run ./../../base/callback.h:65:12
          #11 0x1151efaf in base::(anonymous namespace)::PostTaskAndReplyRelay::RunTaskAndPostReply() ./../../base/threading/post_task_and_reply_impl.cc:45:0
          #12 0x1132685a in Run ./../../base/callback.h:65:12
          #13 0x1132685a in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) ./../../base/debug/task_annotator.cc:55:0
          #14 0x114ee940 in base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) ./../../base/task_scheduler/task_tracker.cc:441:23
          #15 0x114f5b30 in base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) ./../../base/task_scheduler/task_tracker_posix.cc:25:16
          #16 0xf099880 in base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) ./../../base/test/scoped_task_environment.cc:280:49
          #17 0x114ec1e0 in base::internal::TaskTracker::RunNextTask(scoped_refptr<base::internal::Sequence>, base::internal::CanScheduleSequenceObserver*) ./../../base/task_scheduler/task_tracker.cc:343:3
          #18 0x114dece1 in base::internal::SchedulerWorker::Thread::ThreadMain() ./../../base/task_scheduler/scheduler_worker.cc:81:41
          #19 0x1151e887 in base::(anonymous namespace)::ThreadFunc(void*) ./../../base/threading/platform_thread_posix.cc:75:13
          #20 0x7fe34df7e183 in start_thread /build/eglibc-SvCtMH/eglibc-2.19/nptl/pthread_create.c:312:0
      
      Original change's description:
      > Move grayscale conversion into NavigationEntryScreenshotManager.
      > 
      > Changes the location of the RGB→Grayscale conversion of the
      > CopyFromSurface() result SkBitmap to be in
      > NavigationEntryScreenshotManager, as it is the only use case. This
      > unblocks a massive clean-up effort for bug 759310.
      > 
      > For reference, the following was the code that was doing the conversion
      > before (and is a part of a major chunk of code that we want to delete):
      > https://cs.chromium.org/chromium/src/content/browser/compositor/surface_utils.cc?rcl=2fe7073e23caa42cbd01575ab206ba8928ccd645&l=146
      > 
      > Bug: 759310
      > Change-Id: I2687e69b284d5c24ead10b05b49f678cf8375651
      > Reviewed-on: https://chromium-review.googlesource.com/919603
      > Commit-Queue: Yuri Wiitala <miu@chromium.org>
      > Reviewed-by: Nick Carter <nick@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#536929}
      
      TBR=miu@chromium.org,nick@chromium.org
      
      Change-Id: I3de0c04ca25b20ed2322f76834d19e7a7fae4737
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 759310
      Reviewed-on: https://chromium-review.googlesource.com/921243Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536990}
      553d774d
    • Yutaka Hirano's avatar
      Set limits on the number of requests from fetch() with keepalive set · 00e68519
      Yutaka Hirano authored
      This change adds an extra limit on the number of requests initiated by
      fetch() with keepalive set.
      
      Bug: 764589
      Change-Id: Id030f46fadceebb07b606824c420dab5f1791472
      Reviewed-on: https://chromium-review.googlesource.com/895218
      Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
      Reviewed-by: default avatarTakeshi Yoshino <tyoshino@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536989}
      00e68519
    • Dale Curtis's avatar
      Revert "Remove kHaveFutureData restriction from play state notifications." · dc5d47c8
      Dale Curtis authored
      This reverts commit b0ec93f6.
      
      Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=812423
      
      Original change's description:
      > Remove kHaveFutureData restriction from play state notifications.
      > 
      > This reland marks media-src-suspend-after-have-future-data and
      > media-src-suspend-after-have-metadata as SlowTest(s) now that they no
      > longer permanently time out. Each takes ~2ish seconds in release build
      > and so meets the criteria for being a SlowTest.
      > 
      > This also changes WMPI to not try and get the current time value prior
      > to the HaveCurrentData state (which Blink already respects).
      > 
      > ========= [ Original Description Follows ] ===============
      > 
      > HTMLMediaElement should tell WebMediaPlayer about play state changes
      > as soon as the kHaveMetaData state is reached.
      > 
      > This will eventually allow us to delete a bunch of guessing-game type
      > code for idle suspension and instead rely on actually getting a play()
      > call from Blink to wake up when needed.
      > 
      > We can't stop WMPI from reaching the future data state quite yet though,
      > because it has implications on the delivery of 'canplay' and 'canplaythrough'
      > events that need to be part of a larger preload=metadata experiment. See old
      > discussion on this here:
      > 
      > https://lists.w3.org/Archives/Public/public-whatwg-archive/2015Jul/0007.html
      > 
      > Note: This change exposed some bugs in how the ready state maximum is used
      > and the states at which a video frame is expected. These issues are fixed
      > in the HTMLVideoElement.
      > 
      > BUG=694855, 756897, 809998
      > TEST=existing suspend tests no longer flake.
      > 
      > Change-Id: Ie6297df474c1f5da56ca6c0e81efa636fbc349bf
      > Reviewed-on: https://chromium-review.googlesource.com/915081
      > Reviewed-by: Frank Liberato <liberato@chromium.org>
      > Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
      > Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#536487}
      
      TBR=dalecurtis@chromium.org,mlamouri@chromium.org,liberato@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: 694855, 756897, 809998
      Change-Id: I176b5116682851853ff2773e6e4a77a9ac2664b2
      Reviewed-on: https://chromium-review.googlesource.com/920481Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
      Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
      Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536988}
      dc5d47c8
    • Daniel Bratell's avatar
      Jumbo compile fix: renamed two content/browser symbols · d8ec149f
      Daniel Bratell authored
      Recent additions created duplicate symbols in content/browser
      of the variable g_url_loader_factory_callback_for_test and of
      the method BlobStorageContextGetter. BlobStorageContextGetter is
      a duplicate method but small enough that it's probably ok.
      
      This renames one BlobStorageContextGetter to
      BlobStorageContextGetterForStorage (lacking a suitable place for
      sharing the method) and one of the
      g_url_loader_factory_callback_for_test variables to
      g_create_network_factory_callback_for_test to better describe what it
      contains.
      
      These errors don't appear in the jumbo configurations covered by
      the bots because the files are far enough apart in file lists
      to normally not be grouped with each other.
      
      Change-Id: I17ecc36d2271c71f6b7affcc41ef4935b107743f
      Reviewed-on: https://chromium-review.googlesource.com/915367
      Commit-Queue: Daniel Bratell <bratell@opera.com>
      Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536987}
      d8ec149f
    • Marc Treib's avatar
      Cleanup: Remove more Sync Attachments code · 45ca522c
      Marc Treib authored
      Followup to https://crrev.com/c/899004.
      This removes a bunch of helper functions that I missed the first time
      around, and deprecates the proto fields. attachments.proto itself is not
      removed yet.
      
      Bug: 758319
      Change-Id: Ie3eb5db0ce39c48e38ac1244f77c05a0515df714
      Reviewed-on: https://chromium-review.googlesource.com/919081
      Commit-Queue: Marc Treib <treib@chromium.org>
      Reviewed-by: default avatarNicolas Zea <zea@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536986}
      45ca522c
    • Pavol Marko's avatar
      Extend the enterprise.deviceAttributes API · cad963db
      Pavol Marko authored
      Extend the enterprise.deviceAttributes API to provide the device
      serial number, the administrator-annotated Asset ID and the
      administrator-set annotated location.
      The new functions are only available to force-installed extensions
      running in an affiliated user profile.
      
      API proposal:
      https://docs.google.com/a/chromium.org/document/d/1NDt1enxSbKrbwo-BH4qgCbg2M5EWB6igkpe1le0Egk0
      
      Bug: 803974
      Test: browser_tests --gtest_filter=*EnterpriseDeviceAttributes*
      
      Change-Id: I48b3e070a953efe01491e8b9de2700758e158d26
      Reviewed-on: https://chromium-review.googlesource.com/876365
      Commit-Queue: Pavol Marko <pmarko@chromium.org>
      Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
      Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
      Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
      Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536985}
      cad963db
    • Takayoshi Kochi's avatar
      Reland "Remove dead code after multiple shadow removal [5/5]" · c78013e0
      Takayoshi Kochi authored
      This is a reland of 0b952628.
      
      The original CL was once reverted due to potential cause for
      Mac bot's flakiness: crbug.com/805383
      
      Original change's description:
      > Remove dead code after multiple shadow removal [5/5]
      >
      > Remove window.internals.{youngest/oldest/younger}ShadowRoot
      > Adjust layout tests.
      >
      > Bug: 795221
      > Change-Id: I75024668007771c87ddd9598fbd1728859d7f9e9
      > Reviewed-on: https://chromium-review.googlesource.com/831815
      > Commit-Queue: Takayoshi Kochi <kochi@chromium.org>
      > Reviewed-by: Hayato Ito <hayato@chromium.org>
      > Reviewed-by: Rune Lillesveen <futhark@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#531490}
      
      Bug: 795221
      Change-Id: I854ed889f811f3768ac95653b74ddd3f30ce6b5a
      Reviewed-on: https://chromium-review.googlesource.com/919923Reviewed-by: default avatarHayato Ito <hayato@chromium.org>
      Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
      Commit-Queue: Takayoshi Kochi <kochi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536984}
      c78013e0
    • Mikel Astiz's avatar
      Factor out implementation of GlobalIdMapper to dedicated class · 4af2087e
      Mikel Astiz authored
      This makes SessionsSyncManager smaller, which I believe justifies the
      change. But actually, it is motivated by upcoming changes in sessions
      sync code, where a new implementation will be introduced for USS. We
      anticipate the need for the very same logic to track global ID mappings
      for user events.
      
      Bug: 681921
      Change-Id: I0dcd1858c602a2cc167ca3ac0e2e9d55d072c291
      Reviewed-on: https://chromium-review.googlesource.com/916763
      Commit-Queue: Mikel Astiz <mastiz@chromium.org>
      Reviewed-by: default avatarNicolas Zea <zea@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536983}
      4af2087e
    • Mikel Astiz's avatar
      Remove ModelTypeStore::Result in favor of ModelError · 2013066a
      Mikel Astiz authored
      The enum got exposed in the API in some of the functions and ModelError
      was used in others. The original rationale to introduce this Result enum
      no longer holds true and we don't actually treat the values differently,
      so let's make the API more homogeneous by always adopting ModelError as
      the standard way to report error cases.
      
      Change-Id: I6b07d7fec618a44abc776250dfbf70db1a598941
      Reviewed-on: https://chromium-review.googlesource.com/907569Reviewed-by: default avatarPavel Yatsuk <pavely@chromium.org>
      Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
      Reviewed-by: default avatarSean Kau <skau@chromium.org>
      Commit-Queue: Mikel Astiz <mastiz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536982}
      2013066a
    • Kent Tamura's avatar
      Simplify the name of FooElementFactory::CreateRawFooElement(). · 186df9ec
      Kent Tamura authored
      The name is redundant.
      
      - There are no non-'Raw' version of the function any longer.
      - 'Foo' is repeated.
      - 'Element' is repeated
      
      So the function name should be just 'Create.'
      
      This CL has no behavior changes.
      
      Change-Id: I5635a39e987dddbdb122bb68958278bab6f852f3
      Reviewed-on: https://chromium-review.googlesource.com/920722Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
      Commit-Queue: Kent Tamura <tkent@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536981}
      186df9ec
    • Naoki Fukino's avatar
      Files app: Enable muted autoplay for previewing video files. · 33e085fe
      Naoki Fukino authored
      Due to a Chrome policy change, autoplaying videos does not work in quick view.
      Instead, we introduce muted autoplay to help users preview video files.
      
      Bug: 804273
      Test: Manually tested.
      Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
      Change-Id: I07768b04ff3994f53811d22fd33613291dd5b896
      Reviewed-on: https://chromium-review.googlesource.com/920049Reviewed-by: default avatarTatsuhisa Yamaguchi <yamaguchi@chromium.org>
      Commit-Queue: Naoki Fukino <fukino@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536980}
      33e085fe
    • Christos Froussios's avatar
      [Password Manager] Reauth when exporting has a special message · c2c1737e
      Christos Froussios authored
      The reauth challenge mentions "showing" a password. This does not correctly
      describe the intention of exporting the passwords. I introduced an enum
      for the purpose of the reauth and made the authentication util select
      the appropriate messaging according to the purpose.
      
      Bug: 789561
      Change-Id: I64e50f49bb87b41db3dbbfe7e3be50f9395f0985
      Reviewed-on: https://chromium-review.googlesource.com/916606
      Commit-Queue: Christos Froussios <cfroussios@chromium.org>
      Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
      Reviewed-by: default avatarVaclav Brozek <vabr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536979}
      c2c1737e
    • Daniel Bratell's avatar
      [jumbo] Stop complaining about strange files in sources · c949d83f
      Daniel Bratell authored
      People put lots of files in gn's sources lists. Rather than
      being upset, jumbo should just live with it. They do no harm
      and can be safely ignored.
      
      Change-Id: I15c3930cfeb50e5bd7ce121ca7b7c17db088b63f
      Reviewed-on: https://chromium-review.googlesource.com/916246Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
      Commit-Queue: Daniel Bratell <bratell@opera.com>
      Cr-Commit-Position: refs/heads/master@{#536978}
      c949d83f
    • Harald Alvestrand's avatar
      Make WPT webrtc/simplecall.html pass · 71ccd71c
      Harald Alvestrand authored
      The test was failing because passing a null ("end of candidates")
      candidate to addIceCandidate is not permitted.
      
      Spec link:
      
      https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-addicecandidate
      https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addicecandidate
      
      Bug: none
      Change-Id: I1f22d27393a482a882ebe9735488d8cb723b6e75
      Reviewed-on: https://chromium-review.googlesource.com/918662Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
      Commit-Queue: Harald Alvestrand <hta@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536977}
      71ccd71c
    • angle-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com's avatar
      Roll src/third_party/angle/ f3803d4f7..710aa5c70 (1 commit) · ea44f2cb
      https://chromium.googlesource.com/angle/angle.git/+log/f3803d4f74a5..710aa5c7040b
      
      $ git log f3803d4f7..710aa5c70 --date=short --no-merges --format='%ad %ae %s'
      2018-02-08 lfy GLES1: Mat4 transform library
      
      Created with:
        roll-dep src/third_party/angle
      
      
      The AutoRoll server is located here: https://angle-chromium-roll.skia.org
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      TBR=lucferron@chromium.org
      
      Change-Id: If83ba652e14b38c50582f529e2246d8208e8ef9f
      Reviewed-on: https://chromium-review.googlesource.com/920750Reviewed-by: default avatarangle-chromium-autoroll <angle-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
      Commit-Queue: angle-chromium-autoroll <angle-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#536976}
      ea44f2cb
    • Kent Tamura's avatar
      Consolidate <template> cloning steps for cloneNode() and importNode(). · 48b6878b
      Kent Tamura authored
      <template>'s extra cloning step [1] needs "clone children flag."
      So this CL adds it to CloneDataFromElement() and
      CopyNonAttributePropertiesFromElement().
      
      This CL has no behavior changes.
      
      [1] https://html.spec.whatwg.org/multipage/scripting.html#the-template-element:concept-node-clone-ext
      
      Bug: 812089
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: If87da26b9ef46f18d69129ee5b956159d392c471
      Reviewed-on: https://chromium-review.googlesource.com/920942Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
      Commit-Queue: Kent Tamura <tkent@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536975}
      48b6878b
    • Hikaru Nishida's avatar
      Remove declaration of RootEditableElementOf(const VisiblePosition&) · 514b20cf
      Hikaru Nishida authored
      This patch removes declaration of RootEditableElementOf
      which is not used at all and has no definition to improve readability.
      
      TEST: No change in behavior.
      
      Change-Id: I0dd1fce23a2cad0939e205bc67ef61ea2540f104
      Reviewed-on: https://chromium-review.googlesource.com/920567Reviewed-by: default avatarYoichi Osato <yoichio@chromium.org>
      Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
      Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536974}
      514b20cf
    • Christos Froussios's avatar
      [Password Manager] Reduce minimum time for showing the export progress · 9b832114
      Christos Froussios authored
      The "busy exporting" dialog is shown for at least 2 seconds, to avoid
      flashing when exporting happens fast. We reduce this time to 1 seconds,
      as suggested by UX.
      
      Bug: 789561
      Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
      Change-Id: Ibeb1c3736d914ee1d83814dfdc9d3a902fed1796
      Reviewed-on: https://chromium-review.googlesource.com/918562Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
      Commit-Queue: Christos Froussios <cfroussios@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536973}
      9b832114
    • Yuichiro Hanada's avatar
      Use default scale factor to calculate size of the window of VK. · 7315b5e3
      Yuichiro Hanada authored
      To use the same value as used in Android side.
      
      Bug: 807545
      Test: Manual on a device. Added unit tests.
      Change-Id: I04c54e047884a42b019e2d1de69343ce2b89ce60
      Reviewed-on: https://chromium-review.googlesource.com/895127
      Commit-Queue: Yuichiro Hanada <yhanada@chromium.org>
      Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
      Reviewed-by: default avatarKazuhiro Inaba <kinaba@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536972}
      7315b5e3
    • Mostyn Bramley-Moore's avatar
      [jumbo] move duplicated test code to UnitTestHelpers.cpp · c32aac7c
      Mostyn Bramley-Moore authored
      Fixes jumbo builds after https://chromium-review.googlesource.com/c/chromium/src/+/919199
      
      Change-Id: I350604ae19b68859b622568b0d1ac78b223900a5
      Reviewed-on: https://chromium-review.googlesource.com/920982Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
      Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com>
      Cr-Commit-Position: refs/heads/master@{#536971}
      c32aac7c
    • Xiaocheng Hu's avatar
      Implement operator<<(ostream, LayoutObject) · 1ddb5690
      Xiaocheng Hu authored
      This patch allows dumping LayoutObject to ostream to ease debugging.
      
      Change-Id: I4cf438808b503503ad12055dac6610d2c794739c
      Reviewed-on: https://chromium-review.googlesource.com/920884Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
      Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
      Reviewed-by: default avatarYoichi Osato <yoichio@chromium.org>
      Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536970}
      1ddb5690
    • Xiaocheng Hu's avatar
      Change TranslateHelper to use a textContent-like text dump · 605ee933
      Xiaocheng Hu authored
      Currently, TranslateHelper caputres page innerText to decide the
      page language. The text capturing is done in
      RenderFrame::DidMeaningfulLayout(), in which we normally have the
      clean layout, which is necessary for computing innerText.
      
      However, due to some layout bug [1], we don't always have clean
      layout at the call site. As fixing the layout bug is hard, this
      patch changes the text capture algorithm to return a string similar
      to textContent [2] instead, which doesn't require clean layout.
      
      The difference between the new and old text capture is subtle:
      
      - textContent may include invisible text nodes, while innerText never
        does that. However, this patch uses a slightly modified textContent
        that doesn't include text nodes in STYLE or SCRIPT elements.
        Other invisible text may still be included.
      
      - textContent is a simple concatenation of all text nodes. innerText
        does some "formatting" by inserting/deleting some whitespace
        characters, including:
        - Insertion of '\n' between blocks of text (e.g., between <div>)
        - Insertion of '\t' between table cells
        - This patch uses a custom dump algorithm that still collapses
          consecutive whitespaces; however, the collapsing happens regardless
          of style
      
      [1] crbug.com/803403 and crbug.com/585164. The crash happens in the
          wild, but we haven't even found a stable repro case yet.
      
      Bug: 803403
      Change-Id: I7e108d368cbcaccbbb60582323a9e9e041d95269
      Reviewed-on: https://chromium-review.googlesource.com/891582Reviewed-by: default avatarTakashi Toyoshima <toyoshim@chromium.org>
      Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
      Reviewed-by: default avatarRachel Blum <groby@chromium.org>
      Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536969}
      605ee933
    • Peter Kasting's avatar
      Reorganize functions in base/bind*.h. · a85265e3
      Peter Kasting authored
      The ownership wrappers (Owned, Passed, etc.) move from bind_helpers.h to bind.h.
      Most other content of bind_helpers.h was really only necessary to implement the
      code in bind_internals.h, and moves there.
      
      BUG=717138
      TEST=none
      TBR=jri
      
      Change-Id: Ib6d468e58930529dbee587d331b177b93da2f13a
      Reviewed-on: https://chromium-review.googlesource.com/915282
      Commit-Queue: Peter Kasting <pkasting@chromium.org>
      Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
      Reviewed-by: default avatarJana Iyengar <jri@chromium.org>
      Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
      Reviewed-by: default avatarTaiju Tsuiki <tzik@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536968}
      a85265e3