VADisplayState::PostSandboxInitialization from ctor
This CL moves the call to static PostSandboxInitialization() from its user, VASupportedProfiles ctor, to the Initialize() method; this way we improve encapsulation and guarantee that VADisplayState sandbox is correctly initialize in all possible call stacks. TEST=simplechrome on Soraka playing back VP9 videos, chrome://gpu enumeration and chrome://media-internals OK. Compile-ran video_decode_accelerator_unittest with the vp9 file and looked ok too. Bug: 778093 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: I960437bb36e2d2fdf43c33251394b76f84d2ea74 Reviewed-on: https://chromium-review.googlesource.com/784470Reviewed-by:Pawel Osciak <posciak@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#519908}
Showing
Please register or sign in to comment