1. 18 Mar, 2016 32 commits
  2. 17 Mar, 2016 8 commits
    • brucedawson's avatar
      Fix DrMemory warning in VS 2015 CRT · 4ecae6cf
      brucedawson authored
      In VS 2015 builds every call to realloc triggers a warning like this:
      
      Error #1: INVALID HEAP ARGUMENT: allocated with Windows API layer, queried with C library layer
        0 replace_malloc_usable_size
        1 _recalloc_base
        2 <lambda_4e60a939b0d047cfe11ddc22648dfba9>::operator()
        3 __crt_seh_guarded_call<>::operator()<>
        4 __acrt_lock_and_call<>
        5 _register_onexit_function
        6 _crt_atexit
        7 _onexit
        8 atexit
        9 testing::`dynamic initializer for 'FLAGS_gmock_verbose''
      
      This mismatch is harmless (because the CRT always uses the Windows heap)
      and out of our control. Therefore it should be suppressed.
      
      With this suppression I now get a clean run on this previously failing
      test:
      
      tools\valgrind\chrome_tests.bat -t content_browsertests --tool \
          drmemory_light --build-dir=out\Release \
          --gtest_filter=ManifestBrowserTest.DummyManifest
      
      BUG=440500,594808
      
      Review URL: https://codereview.chromium.org/1813063002
      
      Cr-Commit-Position: refs/heads/master@{#381840}
      4ecae6cf
    • fsamuel's avatar
      gpu_param_traits_macros: Remove Media Dependency · 153a9028
      fsamuel authored
      I accidentally added a media dependency in my last CL:
      https://codereview.chromium.org/1799713002/
      
      This CL removes the dependency since we're trying to decouple
      media from gpu.
      
      BUG=586384
      
      Review URL: https://codereview.chromium.org/1807263002
      
      Cr-Commit-Position: refs/heads/master@{#381839}
      153a9028
    • changwan's avatar
      Fix smartclip crash · cddc4684
      changwan authored
      Left upper corner of the rect may not always be the starting position
      in the DOM hierarchy, and this assumption was causing crashes.
      
      BUG=589082
      
      Review URL: https://codereview.chromium.org/1806813004
      
      Cr-Commit-Position: refs/heads/master@{#381838}
      cddc4684
    • mab's avatar
      Use network time for bad clock interstitial. · 740b02b7
      mab authored
      This change supplements the existing build-time heuristic (which
      renders the bad-clock interstitial only when the system clock is outside
      the range (build-2d,build+365d)) with a comparison of the system clock
      to network time, fetched from |NetworkTimeTracker|.
      
      Network time has priority: if the network time says the clock is
      accurate, the bad-clock intersitial will not be used.
      
      The |CLOCK_FUTURE| and |CLOCK_PAST| metrics are recorded only when the
      interstitial is shown, however the decision was made.  The new
      histograms |interstitial.ssl.clockstate.build_time| and
      |interstitial.ssl.clockstate.network| provide data about the state of
      the system clock whenever a |CERT_DATE_INVALID| error is encountered.
      This should help us to assess the effects of the change.
      
      Future work will focus on providing better network time in more cases.
      
      BUG=589700
      
      Review URL: https://codereview.chromium.org/1772143002
      
      Cr-Commit-Position: refs/heads/master@{#381837}
      740b02b7
    • mab's avatar
      Move CUP to new component client_update_protocol · bb61b52a
      mab authored
      This is in aid of reusing this code to obtain secure time.
      
      BUG=589700
      
      Review URL: https://codereview.chromium.org/1805263002
      
      Cr-Commit-Position: refs/heads/master@{#381836}
      bb61b52a
    • shrike's avatar
      kThemePackVersion comment should mention theme cache flushing. · 9845d25e
      shrike authored
      The comment should mention that bumping the version also flushes the
      theme cache. I had intended to add that with my recent change but it
      slipped my mind. Having the mentioned explicitly would have helped me
      when working on the theme regression that needed the version number bump.
      
      BUG=595510
      
      Review URL: https://codereview.chromium.org/1811803002
      
      Cr-Commit-Position: refs/heads/master@{#381835}
      9845d25e
    • kozyatinskiy's avatar
      [DevTools] Move evaluateOnCallFrame to native · fd40284b
      kozyatinskiy authored
      Method evaluateOnCallFrame was moved to V8DebuggerAgentImpl.
      While evaluatiom on call frame for command line API support, method based on V8WindowCustom binding is used instead existing scope_extension argument. In consequent callFrame was removed from CommandLineLineAPI constructor.
      Introduced InjectScopeExtensionByName helper class.
      
      BUG=595206
      R=dgozman@chromium.org
      TBR=pfeldman@chromium.org
      
      Review URL: https://codereview.chromium.org/1811853002
      
      Cr-Commit-Position: refs/heads/master@{#381834}
      fd40284b
    • reveman's avatar
      exo: Add support for secure_output interface to wayland bindings. · 85b7a567
      reveman authored
      This makes it possible for a client to prevent surface contents
      from appearing in screenshots or from being visible on
      non-secure outputs.
      
      This also removes some oom checks from server.cc that should have
      been removed by: https://codereview.chromium.org/1717773002
      
      BUG=549781
      
      Review URL: https://codereview.chromium.org/1802993003
      
      Cr-Commit-Position: refs/heads/master@{#381833}
      85b7a567