提交 3bcf5848 编写于 作者: A Adam Barth

Fix build

上级 82728570
......@@ -133,10 +133,10 @@ void PlatformViewAndroid::InvokePlatformMessageResponseCallback(
std::string response;
if (java_response)
response = base::android::ConvertJavaStringToUTF8(env, java_response);
auto response = std::move(it->second);
auto message_response = std::move(it->second);
pending_responses_.erase(it);
// TODO(abarth): There's an extra copy here.
response->Complete(
message_response->Complete(
std::vector<char>(response.data(), response.data() + response.size()));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册