1. 22 Aug, 2016 40 commits
    • vasilii's avatar
      Change ScopedVector to vector<unique_ptr> in the password's UI code. · ca5afd3b
      vasilii authored
      In addition the code performs small related refactoring. No functional changes should happen.
      
      BUG=555132
      
      Review-Url: https://codereview.chromium.org/2253233005
      Cr-Commit-Position: refs/heads/master@{#413422}
      ca5afd3b
    • kojii's avatar
      Fix "report the exception" in Custom Elements V1 · 8b406045
      kojii authored
      There are 2 places the spec uses "report the exception"[1]:
      
      1. The document parser invokes constructors synchronously.
      2. Upgrade.
      
      Currently Blink has 2 different code paths for each, and each has
      different issues:
      1. The synchronous constructor uses SetVerbose(true), which works for
         thrown exceptions, but ExceptionState::throwIfNeeded() only puts
         the exception into pending exceptions, which will be cleared when
         TryCatch scope exits.
      2. Upgrade fires error events and calls
         ExecutionContext::reportException() to avoid it, but it always uses
         NotSharableCrossOrigin. This works in run-layout-test where the
         origin has m_unversalAccess, but not in, for instance, file URL.
      
      This patch unifies the 2 code paths.
      
      [1] https://html.spec.whatwg.org/multipage/webappapis.html#report-the-exception
      
      BUG=632940
      
      Review-Url: https://codereview.chromium.org/2244203002
      Cr-Commit-Position: refs/heads/master@{#413421}
      8b406045
    • nhiroki's avatar
      Streams: Remove isTerminating() calls · 53752ac6
      nhiroki authored
      isTerminating() is used for making sure whether a worker execution context is
      still valid after V8 API calls, but this is no longer necessary thanks to
      graceful shutdown mechanism for WorkerThread (https://crbug.com/487050)
      
      BUG=614272, 638877
      
      Review-Url: https://codereview.chromium.org/2265863002
      Cr-Commit-Position: refs/heads/master@{#413420}
      53752ac6
    • kochi's avatar
      Add custom elements in imports ordering tests. · 29016e7c
      kochi authored
      This makes sure order of script execution in HTML imports,
      which define custom elements.
      
      BUG=594918
      
      Review-Url: https://codereview.chromium.org/2269493002
      Cr-Commit-Position: refs/heads/master@{#413419}
      29016e7c
    • tyoshino's avatar
      Clean up SecurityOrigin handling around CrossOriginAccessControl::handleRedirect() · f06159ed
      tyoshino authored
      - improve readability by reordering code and giving better variable
        names.
        - introduce securityOriginForHeader and stop reusing |securityOrigin|
          in handleRedirect()
        - originalURL -> lastURL as there can be multiple redirects to follow
      - update some of the comments to refer to the sections of the up-to-date
        Fetch Standard
      - make arguments const where possible
      - add TODOs for improving spec conformance later
      - drop PassRefPtr from setHTTPOrigin() and addHTTPOriginIfNeeded() and
        add const instead as they don't pass the SecurityOrigin to anywhere.
      
      BUG=none
      R=mkwst
      
      Review-Url: https://codereview.chromium.org/2264503002
      Cr-Commit-Position: refs/heads/master@{#413418}
      f06159ed
    • tommyt's avatar
      Implement BluetoothGattNotifySession::Stop on Android, 2nd attempt · ad8462b6
      tommyt authored
      This change enables the stopNotifications function for remote GATT
      characteristics on Android. In order to do so, two distinct refactorings have been done;
      
      1) The session classes have been simplified so that platform specific versions are no longer required. All code that previously used BluetoothGattNotifySession[Mac|Win|BlueZ] now simply use the base BluetoothGattNotifySession class.
      
      2) BluetoothRemoteGattCharacteristic::StartNotifySession and StopNotifySession have been rewritten so that all the code for keeping track of the different session objects and the notification state sits in the base class. Inheriting classes should no longer override these two functions, but instead override the much simpler SubscribeToNotifications and UnsubscribeFromNotifications.
      
      BUG=584370
      
      Committed: https://crrev.com/d41af3adfd8500c81c827ab03ed2736909cf1ee8
      Review-Url: https://codereview.chromium.org/2051333004
      Cr-Original-Commit-Position: refs/heads/master@{#412498}
      Cr-Commit-Position: refs/heads/master@{#413417}
      ad8462b6
    • gambard's avatar
      Add a custom error message in EG WaitUtil · b594d3fd
      gambard authored
      This CL adds a parameter to the WaitUntilCondition of Earl Grey wait_util to
      display a more explicit custom error message if the condition is not met at
      the end of the timeout.
      
      BUG=none
      
      Review-Url: https://codereview.chromium.org/2252723008
      Cr-Commit-Position: refs/heads/master@{#413416}
      b594d3fd
    • yzshen's avatar
      Mojo C++ bindings: extract code shared by different variants. · f0a39ef0
      yzshen authored
      - enums, including those defined inside structs and interfaces.
      - struct and union internal data types (i.e., the wire format definition).
      
      BUG=632061
      
      Review-Url: https://codereview.chromium.org/2247083003
      Cr-Commit-Position: refs/heads/master@{#413415}
      f0a39ef0
    • kouhei's avatar
      Introduce PageCyclerStory and let the stories wait for onload+TTI · 5cbfbf15
      kouhei authored
      BUG=626274
      
      Review-Url: https://codereview.chromium.org/2244943002
      Cr-Commit-Position: refs/heads/master@{#413414}
      5cbfbf15
    • nhiroki's avatar
      Worklet: Move common worklet code from modules/worklet to core/workers · 6142503b
      nhiroki authored
      After ThreadedWorklet is introduced, worklet code gets more tied up with
      worker code, so it'd be reasonable that they are located in the same directory.
      
      BUG=567358
      
      Review-Url: https://codereview.chromium.org/2262483003
      Cr-Commit-Position: refs/heads/master@{#413413}
      6142503b
    • jie.a.chen's avatar
      Add a transform feedback workaround for Intel GPUs on MacOSX · 0494f634
      jie.a.chen authored
      Temporarily unbind current transform feedback object to make
      glResumeTransformFeedback actually work correctly.
      
      BUG=638514
      TEST=webgl2_conformance_test/deqp/functional/gles3/transformfeedback on mac
      CQ_INCLUDE_TRYBOTS=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
      
      Review-Url: https://codereview.chromium.org/2252153003
      Cr-Commit-Position: refs/heads/master@{#413412}
      0494f634
    • j.isorce's avatar
      Fix ineffective --disable-gpu-driver-bug-workarounds · 31f3d211
      j.isorce authored
      It was hidden to the user since chrome://gpu was not showing
      any workarounds, but they were still applied in the gpu process.
      
      Also add a gpu test that sets
      --disable-gpu-driver-bug-workarounds --use_gpu_driver_workaround_for_testing
      and verifies that the only active workaround is USE_TESTING_GPU_DRIVER_WORKAROUND
      in both browser and gpu processes.
      
      BUG=359367
      
      R=kbr@chromium.org, zmo@chromium.org
      
      TEST=./content/test/gpu/run_gpu_test.py gpu_process --show-stdout --browser=exact --extra-browser-args="--no-sandbox" --browser-executable=./out/build/chrome
      CQ_INCLUDE_TRYBOTS=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
      
      Committed: https://crrev.com/d18006d595e7b6bf070f9ab9777d353ac8457755
      Committed: https://crrev.com/7eee382917c50ad10a487ef1c1402adc8c84e9fd
      Committed: https://crrev.com/87c144ab365dacd92f2bb7720628e3397a44c2d6
      Review-Url: https://codereview.chromium.org/2195743005
      Cr-Original-Original-Original-Commit-Position: refs/heads/master@{#409197}
      Cr-Original-Original-Commit-Position: refs/heads/master@{#412685}
      Cr-Original-Commit-Position: refs/heads/master@{#412989}
      Cr-Commit-Position: refs/heads/master@{#413411}
      31f3d211
    • tkent's avatar
      Fix an overflow in valueAsDate setter of temporal input types. · 33861422
      tkent authored
      According to the HTML specification [1], we should throw a TypeError if a non-Date
      object is specified to valueAsDate.
       - Update toCoreDate() so that it throws a TypeError for non-Date objects.
       - Also, add DCHECKs to WTF::msToYear.
      
      Note: Web IDL CR doesn't accept |null| for Date conversion [2]. However the
      specification itself is deprecated.
      
      [1] https://html.spec.whatwg.org/multipage/forms.html#dom-input-valueasdate
      [2] https://www.w3.org/TR/WebIDL/#es-Date
      
      BUG=637115
      
      Review-Url: https://codereview.chromium.org/2265443002
      Cr-Commit-Position: refs/heads/master@{#413410}
      33861422
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · da4bffb6
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
      
      Review-Url: https://codereview.chromium.org/2258833002
      Cr-Commit-Position: refs/heads/master@{#413409}
      da4bffb6
    • tkent's avatar
      Cleanup of wtf/Assertions.*. · 6a0772fc
      tkent authored
      - Use single-line comments.
      - Update comments
      - Unexport WTFGetBacktrace() and WTFPrintBacktrace()
      - Remove unused ASSERT_MSG_DISABLED macro
      
      This CL has no behavior changes.
      
      Review-Url: https://codereview.chromium.org/2254153002
      Cr-Commit-Position: refs/heads/master@{#413408}
      6a0772fc
    • yosin's avatar
      Convert editing/deleting/delete-leading-ws-001.html to use w3c test harness · 3e3c549f
      yosin authored
      This patch converts "editing/deleting/delete-leading-ws-001.html"
      to use w3c test harness to simplify test script for improving readability.
      
      BUG=n/a
      TEST=n/a; no behavior changes
      
      Review-Url: https://codereview.chromium.org/2264463002
      Cr-Commit-Position: refs/heads/master@{#413407}
      3e3c549f
    • sashab's avatar
      Add a fast-path for independent inherited properties · d0c57905
      sashab authored
      (Note: This patch was reverted in crrev.com/2213223004 because of issues
      crbug.com/633859 and crbug.com/634254. These issues were caused from
      setting isInherited to false instead of true for the StyleBuilder
      generated inherit functions, and a slotting bug from skipping child
      recalc in HTMLSlotElement and InsertionPoints, which have both now been
      fixed in this patch & have tests added.)
      
      Add a fast-path for inherited properties which do not depend on and do
      not affect any other properties on ComputedStyle. When these properties
      are modified in a parent element, set them directly on ComputedStyle and
      skip doing a full recalc for elements only affected by this change.
      
      Also implemented two of these properties: visibility and pointer-events,
      storing an extra 2 bits per ComputedStyle. This increases the size of
      ComputedStyle by 1 byte on Windows and some Android builds (due to
      aligned fields), which increases the memory usage for a standard page
      with ~1000 elements by up to 1kb (although potentially up to 4/8kb on
      32/64 bit builds due to packing, although this depends on the allocator
      implementation details) but realistically less since style sharing only
      creates one ComputedStyle object for each unique style.
      
      Benchmarks show a speed increase of up to 2x for setting these
      properties on the root element of a typical web page (Facebook, Twitter,
      Pinterest, Amazon, Wikipedia) and letting the change propagate directly
      onto the child ComputedStyle objects, rather than doing a full style
      recalc.
      
      Initial Benchmarks:
      https://docs.google.com/spreadsheets/d/1mUuJEs8cPWyNTR7tQw27oxq6fDTvWiAwgatf_g--B4w/edit#gid=1597242813
      
      Follow-up Benchmarks:
      https://docs.google.com/spreadsheets/d/1mUuJEs8cPWyNTR7tQw27oxq6fDTvWiAwgatf_g--B4w/edit#gid=918856082
      
      BUG=622138
      
      Review-Url: https://codereview.chromium.org/2220873002
      Cr-Commit-Position: refs/heads/master@{#413406}
      d0c57905
    • rob.buis's avatar
      Remove MediaDevices runtime flag (status=stable) · bfd1b37e
      rob.buis authored
      BUG=402536
      
      Review-Url: https://codereview.chromium.org/2259253002
      Cr-Commit-Position: refs/heads/master@{#413405}
      bfd1b37e
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 08e66e6f
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2256733004
      Cr-Commit-Position: refs/heads/master@{#413404}
      08e66e6f
    • anthonyhkf's avatar
      [Typed-OM] Add Image typedom_types to properties and enable them to be set with StyleMap · d76a6b0f
      anthonyhkf authored
      Those properties are: background-image, border-image-source, list-style-image, content, and shape-outside.
      
      Spec: https://drafts.css-houdini.org/css-typed-om/#mapping-of-properties-to-accepted-types
      
      BUG=545318
      
      Review-Url: https://codereview.chromium.org/2220253002
      Cr-Commit-Position: refs/heads/master@{#413403}
      d76a6b0f
    • tasak's avatar
      Revert of bluetooth: Return false for IsPresent only when bluetooth is not... · 7f007849
      tasak authored
      Revert of bluetooth: Return false for IsPresent only when bluetooth is not supported (patchset #1 id:1 of https://codereview.chromium.org/2248033006/ )
      
      Reason for revert:
      device_unittests: BluetoothTest.ConstructDefaultAdapter is failing.
      
      Original issue's description:
      > bluetooth: Return false for IsPresent only when bluetooth is not supported
      >
      > BUG=633274
      >
      > Committed: https://crrev.com/784971913adcc32bdb22a92da6ac237a7de88a2b
      > Cr-Commit-Position: refs/heads/master@{#413192}
      
      TBR=jyasskin@chromium.org,ortuno@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=633274
      
      Review-Url: https://codereview.chromium.org/2262033002
      Cr-Commit-Position: refs/heads/master@{#413402}
      7f007849
    • skia-deps-roller's avatar
      Roll src/third_party/skia/ 577e012e4..5755cd98a (1 commit). · ff5ca13c
      skia-deps-roller authored
      https://chromium.googlesource.com/skia.git/+log/577e012e4058..5755cd98a749
      
      $ git log 577e012e4..5755cd98a --date=short --no-merges --format='%ad %ae %s'
      2016-08-21 reed make zoomer text clearer
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
      TBR=bungeman@google.com
      
      Review-Url: https://codereview.chromium.org/2265843002
      Cr-Commit-Position: refs/heads/master@{#413401}
      ff5ca13c
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · df0a9da0
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      CQ_INCLUDE_TRYBOTS=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
      
      Review-Url: https://codereview.chromium.org/2257713003
      Cr-Commit-Position: refs/heads/master@{#413400}
      df0a9da0
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · fccaf874
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2259523003
      Cr-Commit-Position: refs/heads/master@{#413399}
      fccaf874
    • yyanagisawa's avatar
      Rename compare_build_artifacts directory name. · 32d5b679
      yyanagisawa authored
      Since deterministic_build_blacklist.json is used by not only
      compare_build_artifacts.py but also remove_build_metadata.py,
      let me rename the directory name to determinism to reflect
      what this is.
      
      BUG=314403
      
      Review-Url: https://codereview.chromium.org/2260053003
      Cr-Commit-Position: refs/heads/master@{#413398}
      32d5b679
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 6affa557
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2254183002
      Cr-Commit-Position: refs/heads/master@{#413397}
      6affa557
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 85bddde3
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2259823003
      Cr-Commit-Position: refs/heads/master@{#413396}
      85bddde3
    • chrome-cron's avatar
      Updating trunk VERSION from 2836.0 to 2837.0 · 29784d9e
      chrome-cron authored
      Cr-Commit-Position: refs/heads/master@{#413395}
      29784d9e
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 04dff7f2
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2254973004
      Cr-Commit-Position: refs/heads/master@{#413394}
      04dff7f2
    • horo's avatar
      Keep ServiceWorkerMetrics::Site in ServiceWorkerVersion · 5c7b49db
      horo authored
      To reduce the string comparison in SiteFromURL().
      
      This CL depends on https://codereview.chromium.org/2251633002/.
      
      https://codereview.chromium.org/2249063004/ depends on this CL.
      
      BUG=561209
      
      Review-Url: https://codereview.chromium.org/2250623003
      Cr-Commit-Position: refs/heads/master@{#413393}
      5c7b49db
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 5e27337b
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2252373002
      Cr-Commit-Position: refs/heads/master@{#413392}
      5e27337b
    • catapult-deps-roller's avatar
      Roll src/third_party/catapult/ cda4e72f8..947506bac (1 commit). · 8c8697b3
      catapult-deps-roller authored
      https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/cda4e72f8776..947506bacfb5
      
      $ git log cda4e72f8..947506bac --date=short --no-merges --format='%ad %ae %s'
      
      BUG=639632
      
      TBR=catapult-sheriff@chromium.org
      
      Review-Url: https://codereview.chromium.org/2264903002
      Cr-Commit-Position: refs/heads/master@{#413391}
      8c8697b3
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 68860bd0
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2253233004
      Cr-Commit-Position: refs/heads/master@{#413390}
      68860bd0
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · eb5cdbe2
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2259753003
      Cr-Commit-Position: refs/heads/master@{#413389}
      eb5cdbe2
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · 799a1fd2
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2256813005
      Cr-Commit-Position: refs/heads/master@{#413388}
      799a1fd2
    • ricea's avatar
      Re-write many calls to WrapUnique() with MakeUnique() · c9462d4d
      ricea authored
      A mostly-automated change to convert instances of WrapUnique(new Foo(...)) to
      MakeUnique<Foo>(...). See the thread at
      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/iQgMedVA8-k
      for background.
      
      To avoid requiring too many manual fixups, the change skips some cases that are
      frequently problematic. In particular, in methods named Foo::Method() it will
      not try to change WrapUnique(new Foo()) to MakeUnique<Foo>(). This is because
      Foo::Method() may be accessing an internal constructor of Foo.
      
      Cases where MakeUnique<NestedClass>(...) is called within a method of
      OuterClass are common but hard to detect automatically, so have been fixed-up
      manually.
      
      The only types of manual fix ups applied are:
      1) Revert MakeUnique back to WrapUnique
      2) Change NULL to nullptr in argument list (MakeUnique cannot forward NULL
         correctly)
      3) Add base:: namespace qualifier where missing.
      
      WrapUnique(new Foo) has not been converted to MakeUnique<Foo>() as this might
      change behaviour if Foo does not have a user-defined constructor. For example,
      WrapUnique(new int) creates an unitialised integer, but MakeUnique<int>()
      creates an integer initialised to 0.
      
      git cl format has been been run over the CL. Spot-checking has uncovered no
      cases of mis-formatting.
      
        BUG=637812
      
      Review-Url: https://codereview.chromium.org/2257763002
      Cr-Commit-Position: refs/heads/master@{#413387}
      c9462d4d
    • anthonyhkf's avatar
      [Typed-OM] Add CSSURLImageValue · 15c53e90
      anthonyhkf authored
      Spec: https://drafts.css-houdini.org/css-typed-om/#cssurlimagevalue
      
      BUG=545318
      
      Review-Url: https://codereview.chromium.org/2208283002
      Cr-Commit-Position: refs/heads/master@{#413386}
      15c53e90
    • tkent's avatar
      Rebaseline imported/wpt/dom/nodes/*-getElementsByTagName.html · 565bd2b7
      tkent authored
      TBR=qyearsley@chromium.org
      
      Review-Url: https://codereview.chromium.org/2268483002
      Cr-Commit-Position: refs/heads/master@{#413385}
      565bd2b7
    • iceman's avatar
      Use EphemeralRange instead of Range* in DocumentMarkerController class. · 1ca795d4
      iceman authored
      No behavior changes.
      
      BUG=388681
      
      Review-Url: https://codereview.chromium.org/2246143004
      Cr-Commit-Position: refs/heads/master@{#413384}
      1ca795d4
    • skia-deps-roller's avatar
      Roll src/third_party/skia/ ce2504186..577e012e4 (1 commit). · e17fd235
      skia-deps-roller authored
      https://chromium.googlesource.com/skia.git/+log/ce25041865e7..577e012e4058
      
      $ git log ce2504186..577e012e4 --date=short --no-merges --format='%ad %ae %s'
      2016-08-21 reed add translate to exercise non-identity ctm performance
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
      TBR=bungeman@google.com
      
      Review-Url: https://codereview.chromium.org/2268463002
      Cr-Commit-Position: refs/heads/master@{#413383}
      e17fd235