1. 13 Nov, 2017 2 commits
    • Miguel Casas-Sanchez's avatar
      vaapi: cleanup order of dvlog-dchecks-code · cec56100
      Miguel Casas-Sanchez authored
      This CL cleans up a bit the order of DLOG()s and DCHECK()s,
      so that debug printouts are before DCHECK()s, and DCHECK()s
      of the current task runner go before the actual code.
      
      This CL also removes the function name from VLOGF()s
      because those already include it, so it's just duplicated.
      
      Also I shortened a condition
      if (a)
        return false;
      return true;
      
      into:
      return !a;
      
      TEST=No new code (except the condition simplification).
      
      Bug: 717265
      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
      Change-Id: I627b3077904a87ecd0da8f0cfbfaa7d70d232c35
      Reviewed-on: https://chromium-review.googlesource.com/765109
      Commit-Queue: Miguel Casas <mcasas@chromium.org>
      Reviewed-by: default avatarPawel Osciak <posciak@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#515874}
      cec56100
    • Nicholas Verne's avatar
      This is a fix for crash bug crbug:783189 · 9d33d78d
      Nicholas Verne authored
      initialize PluginInfoPtrs. The crash happens when chrome::mojom::GetPluginInfo
      fails in sync mode. Then the output PluginInfoPtr is left null. We instead
      default initialize it with PluginInfo::New() as this is what the subsequent
      code expects.
      
      Bug: 783189
      Change-Id: I51e25b127858b8ede79f6762f0f5e870166254d1
      Reviewed-on: https://chromium-review.googlesource.com/762848Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
      Reviewed-by: default avatarYuzhu Shen <yzshen@chromium.org>
      Reviewed-by: default avatarSam McNally <sammc@chromium.org>
      Commit-Queue: Nicholas Verne <nverne@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#515873}
      9d33d78d
  2. 12 Nov, 2017 15 commits
  3. 11 Nov, 2017 23 commits