[bindings] Use std::string instead StringPiece as ScripId type
Changes to use std:string as ScriptId type which has been changed to base::StringPiece on CastWebContents. Using base::StringPiece breaks the normal behavior of injecting JS bindings and the browsertest. Changing it back to std::string fixed the problem. Bug: internal b/163431947, b/132986916 Test: cast_shell_internal_browsertest, CQ Change-Id: I2a4cef5f208880816a4be3068e4e460dd9cf9fcf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2350314Reviewed-by:Sean Topping <seantopping@chromium.org> Auto-Submit: Jiawei Li <lijiawei@chromium.org> Commit-Queue: Jiawei Li <lijiawei@chromium.org> Cr-Commit-Position: refs/heads/master@{#797101}
Showing
Please register or sign in to comment